projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0d706
)
fix git-p4 editor invocation
author
Nicolas Pitre
<nico@fluxnic.net>
Fri, 22 Jan 2010 05:55:15 +0000
(
00:55
-0500)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 22 Jan 2010 06:02:28 +0000
(22:02 -0800)
The strip() is required to remove the trailing newline character,
as already done elsewhere.
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 48059d0aa74fe5f4c14bd74f599d449335ef8519..d1512e0acf7015533bd55e821f9a663285fa4930 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-732,7
+732,7
@@
class P4Submit(Command):
if os.environ.has_key("P4EDITOR"):
editor = os.environ.get("P4EDITOR")
else:
- editor = read_pipe("git var GIT_EDITOR")
+ editor = read_pipe("git var GIT_EDITOR")
.strip()
system(editor + " " + fileName)
response = "y"