From 395407483c4a9f05c08647ffe863d5cc810eaf3c Mon Sep 17 00:00:00 2001 From: Jay Douglass Date: Fri, 27 Aug 2021 03:21:52 +0000 Subject: [PATCH] Use the default formatting for git show in case the user has set a pretty format Part-of: --- gst-worktree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-worktree.py b/gst-worktree.py index 0032a2a6db..d7b7877cdf 100755 --- a/gst-worktree.py +++ b/gst-worktree.py @@ -71,7 +71,7 @@ def checkout_worktree(repo_name, repo_dir, worktree_dir, branch, new_branch, for return False - commit_message = git("show", "--shortstat", repository_path=repo_dir).split("\n") + commit_message = git("show", "--format=medium", "--shortstat", repository_path=repo_dir).split("\n") print(u" -> %s%s%s - %s" % (Colors.HEADER, repo_dir, Colors.ENDC, commit_message[4].strip())) return True