mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Make git log --pretty < v1.5.6 compatible
removes the %x01 syntax which is only available in 1.5.6 and later
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ static NSString* gitPath = @"/usr/bin/env";
|
||||
if (commits != nil)
|
||||
return commits;
|
||||
|
||||
NSFileHandle* handle = [self handleForCommand:@"log --pretty=format:%H%x01%s%x01%an HEAD"];
|
||||
NSFileHandle* handle = [self handleForCommand:@"log --pretty=format:%H\01%s\01%an HEAD"];
|
||||
NSMutableArray * newArray = [NSMutableArray array];
|
||||
NSString* currentLine = [handle readLine];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user