summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Douglass <jay.douglass@gmail.com>2021-08-27 03:21:52 +0000
committerJay Douglass <jay.douglass@gmail.com>2021-08-27 03:21:52 +0000
commit395407483c4a9f05c08647ffe863d5cc810eaf3c (patch)
treeed1573c9bdf21814b96373c91959c8f3cb4f5c42
parent747e62aed877fe626713f071be066551b6edd15e (diff)
Use the default formatting for git show in case the user has set a pretty format
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/258>
-rwxr-xr-xgst-worktree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-worktree.py b/gst-worktree.py
index 0032a2a..d7b7877 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