git-annex/CmdLine
Joey Hess e1ac299ad0
better dup key with -J fix
This avoids all the complication about redundant work discussed in
the previous try at fixing this. At the expense of needing each command
that could have the problem to be patched to simply wrap the action in
onlyActionOn once the key is known. But there do not seem to be many
such commands.

onlyActionOn' should not be used with a CommandStart (or CommandPerform),
although the types do allow it. onlyActionOn handles running the whole
CommandStart chain. I couldn't immediately see a way to avoid mistken
use of onlyActionOn'.

This commit was supported by the NSF-funded DataLad project.
2017-10-17 18:48:53 -04:00
..
GitAnnex zsh and fish completions 2017-06-09 11:38:20 -04:00
GitAnnexShell Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Action.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
Batch.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
GitAnnex.hs initial export command 2017-08-29 15:10:01 -04:00
GitAnnexShell.hs git-annex-shell: run all commands with noMessages 2017-03-17 12:32:43 -04:00
GitRemoteTorAnnex.hs convert P2P runners from Maybe to Either String 2016-12-08 15:47:49 -04:00
GlobalSetter.hs mapM_ = sequence_ . map 2017-02-27 14:48:07 -04:00
Option.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Seek.hs Avoid repeated checking that files passed on the command line exist. 2017-10-16 14:10:20 -04:00
Usage.hs initial export command 2017-08-29 15:10:01 -04:00