git: add a missing reset_copy keyword argument to dirstate.set_tracked()
Since nothing else in hgext/git supports copies yet, the best I can do is avoid
TypeError: set_tracked() got an unexpected keyword argument 'reset_copy'.
--- a/hgext/git/dirstate.py Mon Jul 04 15:01:52 2022 +0400
+++ b/hgext/git/dirstate.py Mon Jul 04 17:16:13 2022 +0400
@@ -330,7 +330,8 @@
# TODO: figure out a strategy for saving index backups.
pass
- def set_tracked(self, f):
+ def set_tracked(self, f, reset_copy=False):
+ # TODO: support copies and reset_copy=True
uf = pycompat.fsdecode(f)
if uf in self.git.index:
return False