diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-09 15:18:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-09 15:18:54 -0400 |
commit | 855c0dd645f53da3ad10320605ef4e5e6276305b (patch) | |
tree | 33835a3172dd5f21c2b1c07a6ae087a55a8195d5 /doc | |
parent | 819e710ac27f0e50a83eb5f2036b5c4a041c882c (diff) |
avoid pre-commit hook messing up new-style unlocked files in v6 repo
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex-pre-commit.mdwn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/git-annex-pre-commit.mdwn b/doc/git-annex-pre-commit.mdwn index bc1e86e18..21e5aef68 100644 --- a/doc/git-annex-pre-commit.mdwn +++ b/doc/git-annex-pre-commit.mdwn @@ -12,10 +12,14 @@ This is meant to be called from git's pre-commit hook. `git annex init` automatically creates a pre-commit hook using this. Fixes up symlinks that are staged as part of a commit, to ensure they -point to annexed content. Also handles injecting changes to unlocked -files into the annex. When in a view, updates metadata to reflect changes +point to annexed content. + +When in a view, updates metadata to reflect changes made to files in the view. +When in a repository that has not been upgraded to annex.version 6, +also handles injecting changes to unlocked files into the annex. + # SEE ALSO [[git-annex]](1) |