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

Ignore Apple resource files when importing from perforce to git.

Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Simon Hausmann 2007-03-14 19:03:16 +01:00
parent d7873afdf4
commit 4d9e5fcea6

View file

@ -329,6 +329,10 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""):
relPath = path[len(branchPrefix):] relPath = path[len(branchPrefix):]
action = file["action"] action = file["action"]
if file["type"] == "apple":
print "\nfile %s is a strange apple file that forks. Ignoring!" %s path
continue
if action == "delete": if action == "delete":
gitStream.write("D %s\n" % relPath) gitStream.write("D %s\n" % relPath)
else: else: