Show More
@@ -303,8 +303,10 b' class gitdirstate(object):' | |||
|
303 | 303 | def drop(self, f): |
|
304 | 304 | index = self.git.index |
|
305 | 305 | index.read() |
|
306 |
|
|
|
307 | index.write() | |
|
306 | fs = pycompat.fsdecode(f) | |
|
307 | if fs in index: | |
|
308 | index.remove(fs) | |
|
309 | index.write() | |
|
308 | 310 | |
|
309 | 311 | def remove(self, f): |
|
310 | 312 | index = self.git.index |
General Comments 0
You need to be logged in to leave comments.
Login now