diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-14 12:01:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-14 12:01:56 -0400 |
commit | caf97fcffd0a1e934fef60c0cae878ee3813f81f (patch) | |
tree | 1e2d900df40934a3672b48fb33ad570f01841573 /doc | |
parent | 59e2feeda146bd37057db42862c4a4efbaf6e95e (diff) |
git-annex-shell: Runs hooks/annex-content after content is received or dropped.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex-shell.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex-shell.mdwn b/doc/git-annex-shell.mdwn index 0fd77a811..89a05b1d6 100644 --- a/doc/git-annex-shell.mdwn +++ b/doc/git-annex-shell.mdwn @@ -49,6 +49,7 @@ first "/~/" or "/~user/" is expanded to the specified home directory. * commit This commits any staged changes to the git-annex branch. + It also runs the annex-content hook. # OPTIONS @@ -60,6 +61,13 @@ to git-annex-shell are: git-annex uses this to specify the UUID of the repository it was expecting git-annex-shell to access, as a sanity check. +# HOOK + +After content is received or dropped from the repository by git-annex-shell, +it runs a hook, `.git/hooks/annex-content` (or `hooks/annex-content` on a bare +repository). The hook is not currently passed any information about what +changed. + # ENVIRONMENT * GIT_ANNEX_SHELL_READONLY |