Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Nov 21, 2019 · 2 comments
Open

Comments

@ghost
Copy link

ghost commented Nov 21, 2019

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

@Kentzo
Copy link
Owner

Kentzo commented Nov 21, 2019

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

@ghost
Copy link
Author

ghost commented Nov 22, 2019

@Kentzo
Exits successfully (exit code 0) with no exception or error message. Submodules not included into the resulting archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant