From d3ea533b208478cd73129001a67317035705b820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Sat, 23 Jun 2018 22:01:16 +0200 Subject: [PATCH] Don't process the whole commit https://bugzilla.gnome.org/show_bug.cgi?id=796655 --- checkout-branch-worktree | 2 +- git-update | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()))