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:
Pieter de Bie
2008-09-24 17:31:25 +02:00
parent b257f0090a
commit aafc284eb8
+1 -1
View File
@@ -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;
}