Closed aberezin-fti closed 7 months ago
Thank you for your feedback, but I won't be doing this. The code doesn't use the system command mv
; instead it uses the system function rename()
.
That said, you might be able to work around this by running detox
and then running git add -A
. git
is decent about finding moved files.
git add -A
can get really messy, and I would have loved to see this solution implemented as well. I didn't find a better solution yet but will post here if I do.
When renaming under a git repo, it would be cleaner to issue a
git mv
instead of a /bin/mv . Adding a --git option would achieve this. A work around now is to issue adetox -n
and then use that output to construct a set ofgit mv
commands.