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>
This commit is contained in:
Jay Douglass 2021-08-27 03:21:52 +00:00
parent 747e62aed8
commit 395407483c

View file

@ -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