diff --git a/PBGitTree.m b/PBGitTree.m index 790e77f..59a2659 100644 --- a/PBGitTree.m +++ b/PBGitTree.m @@ -124,7 +124,7 @@ return localFileName; if (!localFileName) - localFileName = [PBEasyFS tmpNameWithSuffix: path]; + localFileName = [[PBEasyFS tmpDirWithPrefix: sha] stringByAppendingPathComponent:path]; NSFileHandle* handle = [repository handleForArguments:[NSArray arrayWithObjects:@"show", [self refSpec], nil]]; NSData* data = [handle readDataToEndOfFile];