File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 25
25
/* Specific things */
26
26
PBSourceViewItem *stage;
27
27
28
- PBSourceViewItem *branches, *remotes, *tags, *others ;
28
+ PBSourceViewItem *branches, *remotes, *tags;
29
29
30
30
PBGitHistoryController *historyViewController;
31
31
PBGitCommitController *commitViewController;
Original file line number Diff line number Diff line change @@ -157,12 +157,6 @@ - (PBSourceViewItem *) itemForRev:(PBGitRevSpecifier *)rev
157
157
158
158
- (void )addRevSpec : (PBGitRevSpecifier *)rev
159
159
{
160
- if (![rev isSimpleRef ]) {
161
- [others addChild: [PBSourceViewItem itemWithRevSpec: rev]];
162
- [sourceView reloadData ];
163
- return ;
164
- }
165
-
166
160
NSArray *pathComponents = [[rev simpleRef ] componentsSeparatedByString: @" /" ];
167
161
if ([pathComponents count ] < 2 )
168
162
[branches addChild: [PBSourceViewItem itemWithRevSpec: rev]];
@@ -253,7 +247,6 @@ - (void)populateList
253
247
branches = [PBSourceViewItem groupItemWithTitle: @" Branches" ];
254
248
remotes = [PBSourceViewItem groupItemWithTitle: @" Remotes" ];
255
249
tags = [PBSourceViewItem groupItemWithTitle: @" Tags" ];
256
- others = [PBSourceViewItem groupItemWithTitle: @" Other" ];
257
250
258
251
for (PBGitRevSpecifier *rev in repository.branches )
259
252
[self addRevSpec: rev];
@@ -262,7 +255,6 @@ - (void)populateList
262
255
[items addObject: branches];
263
256
[items addObject: remotes];
264
257
[items addObject: tags];
265
- [items addObject: others];
266
258
267
259
[sourceView reloadData ];
268
260
[sourceView expandItem: project];
You can’t perform that action at this time.
0 commit comments