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