From 7793e5eed446c1f521f22abf9d630ed513b2e41d Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Sat, 4 Oct 2008 22:14:37 +0200 Subject: [PATCH] GitRepository: Quiet a git error when resolving symbolic ref We already catch this in our code, so this was just confusing the debug output. --- PBGitRepository.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitRepository.m b/PBGitRepository.m index ff78170..5ccb5e4 100644 --- a/PBGitRepository.m +++ b/PBGitRepository.m @@ -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;