add forget command
Works, more or less. --dead is not implemented, and so far a new branch is made, but keys no longer present anywhere are not scrubbed. git annex sync fails to push the synced/git-annex branch after a forget, because it's not a fast-forward of the existing synced branch. Could be fixed by making git-annex sync use assistant-style sync branches.
This commit is contained in:
parent
fcd5c167ef
commit
4a915cd3cd
5 changed files with 51 additions and 5 deletions
|
@ -67,6 +67,7 @@ import qualified Command.Map
|
|||
import qualified Command.Direct
|
||||
import qualified Command.Indirect
|
||||
import qualified Command.Upgrade
|
||||
import qualified Command.Forget
|
||||
import qualified Command.Version
|
||||
import qualified Command.Help
|
||||
#ifdef WITH_ASSISTANT
|
||||
|
@ -139,6 +140,7 @@ cmds = concat
|
|||
, Command.Direct.def
|
||||
, Command.Indirect.def
|
||||
, Command.Upgrade.def
|
||||
, Command.Forget.def
|
||||
, Command.Version.def
|
||||
, Command.Help.def
|
||||
#ifdef WITH_ASSISTANT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue