diff --git a/checkout-branch-worktree b/checkout-branch-worktree index 9c4d3b4d84..3b29e73771 100755 --- a/checkout-branch-worktree +++ b/checkout-branch-worktree @@ -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())) diff --git a/git-update b/git-update index 59777403a1..a3875d2a97 100755 --- a/git-update +++ b/git-update @@ -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()))