Browse Source

Merge branch 'aw/git-p4-deletion'

* aw/git-p4-deletion:
  Fix handling of git-p4 on deleted files
maint
Junio C Hamano 14 years ago
parent
commit
3089c2b97a
  1. 4
      contrib/fast-import/git-p4

4
contrib/fast-import/git-p4

@ -706,7 +706,9 @@ class P4Submit(Command): @@ -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:

Loading…
Cancel
Save