It happened that I removed a submodule from .git/config but not from .gitmodules.
Now if I run the script, it finishes successfully but doesn't include submodules coming after the missing submodule. No error message is produced.
The script exits without printing an error or warning with non-0
The script prints the exception then exits with 0 with all the files - submodule files being archived
The script prints the exception then exits with 0 with only some of the files being archived (i.e. it stopped walking the repo as soon as it hit the exception
It happened that I removed a submodule from .git/config but not from .gitmodules. Now if I run the script, it finishes successfully but doesn't include submodules coming after the missing submodule. No error message is produced.
git-archive-all from brew on Mac