Fix saving tree to folder

This commit is contained in:
Michael Stephens
2009-03-12 22:12:46 -07:00
committed by Pieter de Bie
parent 2b8d378f13
commit b48469da93
+1 -1
View File
@@ -94,7 +94,7 @@
[data writeToFile:newName atomically:YES];
} else { // Directory
[[NSFileManager defaultManager] createDirectoryAtPath:newName attributes:nil];
for (PBGitTree* child in children)
for (PBGitTree* child in [self children])
[child saveToFolder: newName];
}
}