mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Add name of branch/remote to Checkout and Delete contextual menu items.
This commit is contained in:
+2
-2
@@ -47,11 +47,11 @@
|
||||
}
|
||||
|
||||
if ([type isEqualToString:@"branch"])
|
||||
[array addObject:[[PBRefMenuItem alloc] initWithTitle:@"Checkout branch"
|
||||
[array addObject:[[PBRefMenuItem alloc] initWithTitle:[@"Checkout " stringByAppendingString:targetRef]
|
||||
action:@selector(checkoutRef:)
|
||||
keyEquivalent: @""]];
|
||||
|
||||
[array addObject:[[PBRefMenuItem alloc] initWithTitle:[@"Delete " stringByAppendingString:type]
|
||||
[array addObject:[[PBRefMenuItem alloc] initWithTitle:[@"Delete " stringByAppendingString:targetRef]
|
||||
action:@selector(removeRef:)
|
||||
keyEquivalent: @""]];
|
||||
if ([type isEqualToString:@"tag"])
|
||||
|
||||
Reference in New Issue
Block a user