summaryrefslogtreecommitdiff
path: root/doc/git-annex-shell.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-03-14 12:01:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-03-14 12:01:56 -0400
commitcaf97fcffd0a1e934fef60c0cae878ee3813f81f (patch)
tree1e2d900df40934a3672b48fb33ad570f01841573 /doc/git-annex-shell.mdwn
parent59e2feeda146bd37057db42862c4a4efbaf6e95e (diff)
git-annex-shell: Runs hooks/annex-content after content is received or dropped.
Diffstat (limited to 'doc/git-annex-shell.mdwn')
-rw-r--r--doc/git-annex-shell.mdwn8
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