From db68f38232bd4121b462066e3d2dbffe2e220d70 Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Thu, 11 Sep 2008 22:53:47 +0200 Subject: [PATCH] Also display remote heads in branch list --- PBGitRepository.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitRepository.m b/PBGitRepository.m index 4baadcb..8edc71f 100644 --- a/PBGitRepository.m +++ b/PBGitRepository.m @@ -156,7 +156,7 @@ static NSString* gitPath; else sha = [components objectAtIndex:2]; - if ([[ref type] isEqualToString:@"head"]) + if ([[ref type] isEqualToString:@"head"] || [[ref type] isEqualToString:@"remote"]) [newBranches addObject: ref]; NSMutableArray* curRefs;