git-annex/CmdLine
Joey Hess 5d380c6c5c
when workTreeItems finds a problem with a parameter, don't go on to process it
Part of workTreeItems is trying detect a case
where git porcelain refuses to process a file, and where
git ls-files silently outputs nothing. But, it's hard to perfectly
replicate git's behavior, and besides, git's behavior could change.
So it could be that we warn, but then git ls-files does not skip over
it, and so git-annex also processes it after warning about it.

So, if we think we have a problem with a parameter, display the warning,
and skip processing it at all.

Implementing this was complicated by needing to handle the case where
all command-line parameters get filtered out this way. Which is
different than the case where there are none, because we don't want to
operate on all files in this new case..
2020-08-06 13:47:45 -04:00
..
GitAnnex external backends wip 2020-07-29 15:23:18 -04:00
GitAnnexShell wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Action.hs unify batch mode with non-batch by using AnnexedFileSeeker 2020-07-22 14:23:28 -04:00
Batch.hs Fix a bug in find --branch in the previous version 2020-07-24 12:05:28 -04:00
GitAnnex.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
GitAnnexShell.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Option.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
Seek.hs when workTreeItems finds a problem with a parameter, don't go on to process it 2020-08-06 13:47:45 -04:00
Usage.hs initremote --describe-other-params 2020-01-20 16:05:51 -04:00