1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 05:47:53 +01:00

Pass the right number of arguments to commit, fixes single-branch imports.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Simon Hausmann 2007-03-19 12:04:37 +01:00
parent 09e16455e0
commit 95d27cb75d

View file

@ -330,7 +330,7 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""):
action = file["action"]
if file["type"] == "apple":
print "\nfile %s is a strange apple file that forks. Ignoring!" %s path
print "\nfile %s is a strange apple file that forks. Ignoring!" % path
continue
if action == "delete":
@ -608,7 +608,7 @@ def getUserMap():
merged = "refs/heads/" + merged
commit(description, files, branch, branchPrefix, parent, merged)
else:
commit(description, filesForCommit, branch, globalPrefix, initialParent)
commit(description, files, branch, globalPrefix, initialParent)
initialParent = ""
except IOError:
print gitError.read()