We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3390269 commit a3f02b2Copy full SHA for a3f02b2
PBGitIndex.m
@@ -491,6 +491,8 @@ - (void) addFilesFromDictionary:(NSMutableDictionary *)dictionary staged:(BOOL)s
491
file.hasStagedChanges = YES;
492
else
493
file.hasUnstagedChanges = YES;
494
+ if ([[fileStatus objectAtIndex:4] isEqualToString:@"D"])
495
+ file.status = DELETED;
496
} else {
497
// Untracked file, set status to NEW, only unstaged changes
498
file.hasStagedChanges = NO;
0 commit comments