Skip to content

Commit ac6773e

Browse files
committed
Sync rev.
1 parent 611e5c8 commit ac6773e

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

Classes/GitDiff.mm

+1-19
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Repo: https://github.com/johnno1962/GitDiff
66
//
7-
// $Id: //depot/GitDiff/Classes/GitDiff.mm#58 $
7+
// $Id: //depot/GitDiff/Classes/GitDiff.mm#60 $
88
//
99
// Created by John Holdsworth on 26/07/2014.
1010
// Copyright (c) 2014 John Holdsworth. All rights reserved.
@@ -87,24 +87,6 @@ + (void)swizzleClass:(Class)aClass exchange:(SEL)origMethod with:(SEL)altMethod
8787
class_getInstanceMethod(aClass, altMethod));
8888
}
8989

90-
- (instancetype)init
91-
{
92-
self = [super init];
93-
if (!self) return nil;
94-
95-
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
96-
97-
if (![userDefaults objectForKey:@"GitDiffGutterMode"]) {
98-
[userDefaults setInteger:GitDiffGutterTypeDefault forKey:@"GitDiffGutterMode"];
99-
}
100-
101-
if (![userDefaults objectForKey:@"GitDiffWrapNavigation"]) {
102-
[userDefaults setInteger:GitDiffWrapNavigationDefault forKey:@"GitDiffWrapNavigation"];
103-
}
104-
105-
return self;
106-
}
107-
10890
- (void)insertMenuItems
10991
{
11092
NSMenu *editorMenu = [[[NSApp mainMenu] itemWithTitle:@"Edit"] submenu];

0 commit comments

Comments
 (0)