From: Simon Hausmann Date: Wed, 14 Mar 2007 18:03:16 +0000 (+0100) Subject: Ignore Apple resource files when importing from perforce to git. X-Git-Tag: v1.5.3-rc0~65^2^2~182 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d9e5fcea65f22c6bd9e1f3e5ae2f79c3af613db;p=git.git Ignore Apple resource files when importing from perforce to git. Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 6f7bbb0f3..a6dbd3b98 100755 --- a/contrib/fast-import/p4-fast-export.py +++ b/contrib/fast-import/p4-fast-export.py @@ -329,6 +329,10 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""): relPath = path[len(branchPrefix):] action = file["action"] + if file["type"] == "apple": + print "\nfile %s is a strange apple file that forks. Ignoring!" %s path + continue + if action == "delete": gitStream.write("D %s\n" % relPath) else: