Skip to content

Commit 08c77bd

Browse files
committed
Copy-pasting things from the history list is handled at the window level
1 parent 004d7b7 commit 08c77bd

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Classes/Controllers/PBRefController.m

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,6 @@ - (void)awakeFromNib
2626
[commitList registerForDraggedTypes:[NSArray arrayWithObject:@"PBGitRef"]];
2727
}
2828

29-
#pragma mark Copy info
30-
31-
- (void) copySHA:(PBRefMenuItem *)sender
32-
{
33-
[GitXCommitCopier putStringToPasteboard:[GitXCommitCopier toFullSHA:[self commitsForMenuItem:sender]]];
34-
}
35-
36-
- (void) copyShortSHA:(PBRefMenuItem *)sender
37-
{
38-
[GitXCommitCopier putStringToPasteboard:[GitXCommitCopier toShortName:[self commitsForMenuItem:sender]]];
39-
}
40-
41-
- (void) copyPatch:(PBRefMenuItem *)sender
42-
{
43-
[GitXCommitCopier putStringToPasteboard:[GitXCommitCopier toPatch:[self commitsForMenuItem:sender]]];
44-
}
45-
4629
- (NSArray<PBGitCommit *> *) commitsForMenuItem:(PBRefMenuItem *)menuItem {
4730
NSArray<id<PBGitRefish>> * refishs = menuItem.refishs;
4831
NSMutableArray *commits = [NSMutableArray arrayWithCapacity:refishs.count];

0 commit comments

Comments
 (0)