aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-25 14:27:11 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-25 14:27:11 -0700
commit0eb2774b25641d797ffb09a884b85e93a6563648 (patch)
tree98b8d8b4078cc8922f9abc9374c04760a7636475
parentMerge branch 'bb/unicode-12.1-reiwa' into maint (diff)
parentp4 unshelve: fix "Not a valid object name HEAD0" on Windows (diff)
downloadgit-0eb2774b25641d797ffb09a884b85e93a6563648.tar.gz
git-0eb2774b25641d797ffb09a884b85e93a6563648.zip
Merge branch 'mm/p4-unshelve-windows-fix' into maint
The command line to invoke a "git cat-file" command from inside "git p4" was not properly quoted to protect a caret and running a broken command on Windows, which has been corrected. * mm/p4-unshelve-windows-fix: p4 unshelve: fix "Not a valid object name HEAD0" on Windows
Diffstat (limited to '')
-rwxr-xr-xgit-p4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-p4.py b/git-p4.py
index 5b79920f46..0b5bfcbc5e 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -737,7 +737,7 @@ def extractLogMessageFromGitCommit(commit):
## fixme: title is first line of commit, not 1st paragraph.
foundTitle = False
- for log in read_pipe_lines("git cat-file commit %s" % commit):
+ for log in read_pipe_lines(["git", "cat-file", "commit", commit]):
if not foundTitle:
if len(log) == 1:
foundTitle = True