git-archive-all
git-archive-all copied to clipboard
The script dies silently if module is in .gitmodules but not in .git/config
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
Ok, so what case are you hitting:
- 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
@Kentzo Exits successfully (exit code 0) with no exception or error message. Submodules not included into the resulting archive.