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:
Pieter de Bie
2008-10-04 22:14:37 +02:00
parent 5a7d1e9d30
commit 7793e5eed4
+1 -1
View File
@@ -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;