git-annex/CmdLine
Joey Hess ce91f10132
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
2022-02-28 12:54:56 -04:00
..
GitAnnex add --size-limit option 2021-06-04 16:16:53 -04:00
GitAnnexShell remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
Action.hs --size-limit exit 101 2021-06-04 16:43:47 -04:00
Batch.hs reject batch options combined with non-batch options 2022-01-26 13:00:19 -04:00
GitAnnex.hs add git-annex filter-process 2021-11-04 15:02:36 -04:00
GitAnnexShell.hs fix duplicated commands in git-annex-shell usage display 2021-10-11 15:42:27 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs implement fastDebug 2021-04-06 15:24:28 -04:00
Option.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
Seek.hs fix annex.skipunknown false error propagation 2022-02-28 12:54:56 -04:00
Usage.hs improve synopsis 2020-12-17 12:51:49 -04:00