Kentzo / git-archive-all

A python script wrapper for git-archive that archives a git superproject and its submodules, if it has any. Takes into account .gitattributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The script dies silently if module is in .gitmodules but not in .git/config

opened this issue · comments

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.

image

git-archive-all from brew on Mac

Ok, so what case are you hitting:

  1. The script exits without printing an error or warning with non-0
  2. The script prints the exception then exits with 0 with all the files - submodule files being archived
  3. 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.