Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (24 sloc) 616 Bytes
//
// PBGitSVBranchItem.m
// GitX
//
// Created by Nathan Kinsinger on 3/2/10.
// Copyright 2010 Nathan Kinsinger. All rights reserved.
//
#import "PBGitSVBranchItem.h"
#import "PBGitRevSpecifier.h"
@implementation PBGitSVBranchItem
+ (id)branchItemWithRevSpec:(PBGitRevSpecifier *)revSpecifier
{
PBGitSVBranchItem *item = [self itemWithTitle:[[revSpecifier description] lastPathComponent]];
item.revSpecifier = revSpecifier;
return item;
}
- (NSImage *) icon
{
static NSImage *branchImage = nil;
if (!branchImage)
branchImage = [NSImage imageNamed:@"Branch.png"];
return branchImage;
}
@end
Something went wrong with that request. Please try again.