Show branches and tags when showing git log
Change-Id: I3ec663dae84254d4889f14994122d34f4a3811cb
This commit is contained in:

committed by
Monty Taylor

parent
23d0f840c2
commit
c014a46830
@@ -288,8 +288,8 @@ def assert_one_change(remote, branch, yes):
|
|||||||
elif color == "auto":
|
elif color == "auto":
|
||||||
# Python is not a tty, we have to force colors
|
# Python is not a tty, we have to force colors
|
||||||
color = "always"
|
color = "always"
|
||||||
cmd = "git log --color=%s --oneline %s --not remotes/%s/%s" % (color,
|
cmd = "git log --color=%s --decorate --oneline %s --not remotes/%s/%s" % \
|
||||||
branch_name, remote, branch)
|
(color, branch_name, remote, branch)
|
||||||
(status, output) = run_command_status(cmd)
|
(status, output) = run_command_status(cmd)
|
||||||
if status != 0:
|
if status != 0:
|
||||||
print "Had trouble running %s" % cmd
|
print "Had trouble running %s" % cmd
|
||||||
|
Reference in New Issue
Block a user