File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
#import " PBChangedFile.h"
12
12
#import " PBWebChangesController.h"
13
13
#import " NSString_RegEx.h"
14
-
14
+ # import " PBGitIndexController.h "
15
15
16
16
@interface PBGitCommitController (PrivateMethods)
17
17
- (NSArray *) linesFromNotification : (NSNotification *)notification ;
@@ -240,6 +240,7 @@ - (NSMutableDictionary *)dictionaryForLines:(NSArray *)lines
240
240
- (void ) addFilesFromDictionary : (NSMutableDictionary *)dictionary staged : (BOOL )staged tracked : (BOOL )tracked
241
241
{
242
242
// Iterate over all existing files
243
+ [indexController stopTrackingIndex ];
243
244
for (PBChangedFile *file in files) {
244
245
NSArray *fileStatus = [dictionary objectForKey: file.path];
245
246
// Object found, this is still a cached / uncached thing
@@ -270,6 +271,7 @@ - (void) addFilesFromDictionary:(NSMutableDictionary *)dictionary staged:(BOOL)s
270
271
file.hasUnstagedChanges = NO ;
271
272
}
272
273
}
274
+ [indexController resumeTrackingIndex ];
273
275
274
276
// Do new files
275
277
if (![[dictionary allKeys ] count ])
You can’t perform that action at this time.
0 commit comments