git annex add in adjusted unlocked branch

Cached the current branch lookup just because it seems unnecessary overhead
to run an extra git command per add to query the current branch.
This commit is contained in:
Joey Hess 2016-03-29 13:26:06 -04:00
parent 4226ae1040
commit 42b7ccc89f
Failed to extract signature
4 changed files with 29 additions and 5 deletions

View file

@ -301,5 +301,3 @@ into adjusted view worktrees.]
(locking will cause the commits to fail) and so the assistant
should not be running, or at least should have commits disabled
when entering it.
* When the adjusted branch unlocks files, behave as if annex.addunlocked is
set, so git annex add will add files unlocked.