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:
parent
09e16455e0
commit
95d27cb75d
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue