diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-25 16:31:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-25 16:47:28 -0400 |
commit | a3c9d06a265b2d6d3003af805b8345e4ddd3d87c (patch) | |
tree | eae37c12a8cdbf8e3a9360fdbbe625e4dec8526a /git-annex-shell.hs | |
parent | 1f73db3469e29448bcb1520893de11b23da6fb1f (diff) |
add git-annex-shell commit
Eventually, git-annex might try running this after making changes to
a remote. I have not yet thought of a good way for it to tell which
remotes it needs to run it on though. It can't just do it when
shutting down a cached ssh connection, because ssh connection caching
is optional, and that would not handle local remotes not accessed over ssh
either.
Diffstat (limited to 'git-annex-shell.hs')
-rw-r--r-- | git-annex-shell.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-annex-shell.hs b/git-annex-shell.hs index 4fdeae1a8..396b7b790 100644 --- a/git-annex-shell.hs +++ b/git-annex-shell.hs @@ -20,6 +20,7 @@ import qualified Command.InAnnex import qualified Command.DropKey import qualified Command.RecvKey import qualified Command.SendKey +import qualified Command.Commit cmds_readonly :: [Command] cmds_readonly = concat @@ -32,6 +33,7 @@ cmds_notreadonly :: [Command] cmds_notreadonly = concat [ Command.RecvKey.def , Command.DropKey.def + , Command.Commit.def ] cmds :: [Command] |