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.
This commit is contained in:
parent
68a49adcda
commit
e1ac299ad0
16 changed files with 82 additions and 77 deletions
|
@ -47,4 +47,6 @@ I wondered if annex should first analyze passed paths to get actual keys to be f
|
|||
|
||||
[[!meta author=yoh]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
> [[fixed|done]]; also fixed for several other commands, but the final
|
||||
> fix needed each command that could have the problem to be modified, so
|
||||
> there could possibly be some I missed.. --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue