prevent git-annex adjust changing things out from under the daemon
This commit is contained in:
parent
8a69298bf2
commit
6301543c00
2 changed files with 1 additions and 5 deletions
|
@ -12,7 +12,7 @@ import Annex.AdjustedBranch
|
||||||
import Annex.Version
|
import Annex.Version
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = notBareRepo $ notDirect $
|
cmd = notBareRepo $ notDirect $ noDaemonRunning $
|
||||||
command "adjust" SectionSetup "enter adjusted branch"
|
command "adjust" SectionSetup "enter adjusted branch"
|
||||||
paramNothing (seek <$$> optParser)
|
paramNothing (seek <$$> optParser)
|
||||||
|
|
||||||
|
|
|
@ -299,7 +299,3 @@ into adjusted view worktrees.]
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
* Interface in webapp to enable adjustments.
|
* Interface in webapp to enable adjustments.
|
||||||
* Entering an adjusted branch can prevent commits to the current branch
|
|
||||||
(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.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue