Also display remote heads in branch list

This commit is contained in:
Pieter de Bie
2008-09-11 22:53:47 +02:00
parent d96916db17
commit db68f38232
+1 -1
View File
@@ -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;