Show branches and tags when showing git log

Change-Id: I3ec663dae84254d4889f14994122d34f4a3811cb
This commit is contained in:
Saggi Mizrahi
2011-11-16 11:05:02 +02:00
committed by Monty Taylor
parent 23d0f840c2
commit c014a46830

View File

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