fix annex.skipunknown false error propagation
Propagate nonzero exit status from git ls-files when a specified file does not exist, or a specified directory does not contain any files checked into git. The recent completion of the annex.skipunknown transition exposed this bug, that has unfortunately been lurking all along. It is also possible that git ls-files errors out for some other reason -- perhaps a permission problem -- and this will also fix error propagation in such situations. Sponsored-by: Dartmouth College's Datalad project
Showing
- CHANGELOG 3 additions, 0 deletionsCHANGELOG
- CmdLine/Seek.hs 10 additions, 5 deletionsCmdLine/Seek.hs
- doc/bugs/no_longer_non-0_exit_for___34__find_..._nonexisting__34__.mdwn 2 additions, 0 deletions...nger_non-0_exit_for___34__find_..._nonexisting__34__.mdwn
- doc/bugs/no_longer_non-0_exit_for___34__find_..._nonexisting__34__/comment_3_28060f4bb31730e3334cf3db56fc032b._comment 29 additions, 0 deletions..._34__/comment_3_28060f4bb31730e3334cf3db56fc032b._comment
Please register or sign in to comment