Don't process the whole commit

https://bugzilla.gnome.org/show_bug.cgi?id=796655
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-06-23 22:01:16 +02:00
parent b4015f7bbe
commit d3ea533b20
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ def checkout_worktree(repo_name, repo_dir, worktree_dir, branch):
return False
commit_message = git("show", repository_path=repo_dir).split("\n")
commit_message = git("show", "--shortstat", repository_path=repo_dir).split("\n")
print(u" -> %s%s%s - %s" % (Colors.HEADER, repo_dir, Colors.ENDC,
commit_message[4].strip()))

View file

@ -85,7 +85,7 @@ def update_repo(repo_name, repo_dir, revision, no_interaction, recurse_i=0):
return False
commit_message = git("show", repository_path=repo_dir).split("\n")
commit_message = git("show", "--shortstat", repository_path=repo_dir).split("\n")
print(u" -> %s%s%s - %s" % (Colors.HEADER, commit_message[0][7:14], Colors.ENDC,
commit_message[4].strip()))