relPath = path[len(branchPrefix):]
action = file["action"]
+ if file["type"] == "apple":
+ print "\nfile %s is a strange apple file that forks. Ignoring!" % path
+ continue
+
if action == "delete":
gitStream.write("D %s\n" % relPath)
else:
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()