зеркало из https://github.com/microsoft/git.git
Ignore Apple resource files when importing from perforce to git.
Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Родитель
d7873afdf4
Коммит
4d9e5fcea6
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче