diff --git a/PBGitTree.m b/PBGitTree.m index 134648e..d6e685c 100644 --- a/PBGitTree.m +++ b/PBGitTree.m @@ -126,7 +126,7 @@ if ([self fileSize] > 52428800) // ~50MB return [NSString stringWithFormat:@"%@ is too big to be displayed (%d bytes)", [self fullPath], [self fileSize]]; - NSString *contents=[repository outputInWorkdirForArguments:[NSArray arrayWithObjects:@"blame", @"-p", [self fullPath], sha, nil]]; + NSString *contents=[repository outputInWorkdirForArguments:[NSArray arrayWithObjects:@"blame", @"-p", sha, @"--", [self fullPath], nil]]; if ([self hasBinaryHeader:contents]) return [NSString stringWithFormat:@"%@ appears to be a binary file of %d bytes", [self fullPath], [self fileSize]];