diff options
author | Jay Douglass <jay.douglass@gmail.com> | 2021-08-27 03:21:52 +0000 |
---|---|---|
committer | Jay Douglass <jay.douglass@gmail.com> | 2021-08-27 03:21:52 +0000 |
commit | 395407483c4a9f05c08647ffe863d5cc810eaf3c (patch) | |
tree | ed1573c9bdf21814b96373c91959c8f3cb4f5c42 | |
parent | 747e62aed877fe626713f071be066551b6edd15e (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-x | gst-worktree.py | 2 |
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 |