diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-20 14:52:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-20 14:52:58 -0400 |
commit | 9cd0833c28e4e8f9d4f45b3913e7540bdbeacb91 (patch) | |
tree | 7bd7442a613311a0b442b06208912d10fcc5f4e4 /doc/git-annex.mdwn | |
parent | 6d9ef07751656dfd996ff283570054586469bc99 (diff) |
Added a post-update-annex hook, which is run after the git-annex branch is updated. Needed for git update-server-info.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r-- | doc/git-annex.mdwn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 7cd02fb63..8e56f42b5 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1953,8 +1953,12 @@ used by git-annex. to start the git-annex assistant in. `.git/hooks/pre-commit-annex` in your git repository will be run whenever -a commit is made, either by git commit, git-annex sync, or the git-annex -assistant. +a commit is made to the HEAD branch, either by git commit, git-annex +sync, or the git-annex assistant. + +`.git/hooks/post-update-annex` in your git repository will be run +whenever the git-annex branch is updated. You can make this hook run +`git update-server-info` when publishing a git-annex repository by http. # SEE ALSO |