mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
GitRepository: Quiet a git error when resolving symbolic ref
We already catch this in our code, so this was just confusing the debug output.
This commit is contained in:
+1
-1
@@ -368,7 +368,7 @@ NSString* PBGitRepositoryErrorDomain = @"GitXErrorDomain";
|
||||
|
||||
- (NSString*) parseSymbolicReference:(NSString*) reference
|
||||
{
|
||||
NSString* ref = [self outputForArguments:[NSArray arrayWithObjects: @"symbolic-ref", reference, nil]];
|
||||
NSString* ref = [self outputForArguments:[NSArray arrayWithObjects: @"symbolic-ref", @"-q", reference, nil]];
|
||||
if ([ref hasPrefix:@"refs/"])
|
||||
return ref;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user