mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
ChangedFile: add a path separator to reset command
Sometimes a file could not be reset because it contained weird characters. This hopefully fixes it.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@
|
||||
self.cached = YES;
|
||||
}
|
||||
- (void) unstageChanges
|
||||
{ [repository outputInWorkdirForArguments:[NSArray arrayWithObjects:@"reset", path, nil]];
|
||||
{ [repository outputInWorkdirForArguments:[NSArray arrayWithObjects:@"reset", @"--", path, nil]];
|
||||
self.cached = NO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user