For stupid people like me:
Could you please add a check if the input to repo.index.add(...) is a list, and not a string?
It took me a while to find out that this was the real error behind:
ValueError: Absolute path '\' is not in git repository at 'C:\Users\xxx\yyy\zzz'
:-)
For
stupidpeople like me:Could you please add a check if the input to
repo.index.add(...)is a list, and not a string?It took me a while to find out that this was the real error behind:
:-)