Skip to content

Commit

Permalink
Merge branch 'aw/git-p4-deletion'
Browse files Browse the repository at this point in the history
* aw/git-p4-deletion:
  Fix handling of git-p4 on deleted files
  • Loading branch information
Junio C Hamano committed Nov 5, 2010
2 parents 06cfa8a + 8b13026 commit 3089c2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@ class P4Submit(Command):
submitTemplate = self.prepareLogMessage(template, logMessage)
if os.environ.has_key("P4DIFF"):
del(os.environ["P4DIFF"])
diff = p4_read_pipe("diff -du ...")
diff = ""
for editedFile in editedFiles:
diff += p4_read_pipe("diff -du %r" % editedFile)

newdiff = ""
for newFile in filesToAdd:
Expand Down

0 comments on commit 3089c2b

Please sign in to comment.