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:
parent
747e62aed8
commit
395407483c
@ -71,7 +71,7 @@ def checkout_worktree(repo_name, repo_dir, worktree_dir, branch, new_branch, for
|
|||||||
|
|
||||||
return False
|
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,
|
print(u" -> %s%s%s - %s" % (Colors.HEADER, repo_dir, Colors.ENDC,
|
||||||
commit_message[4].strip()))
|
commit_message[4].strip()))
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user