2015-03-25 16:09:49 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex pre-commit - run by git pre-commit hook
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2015-05-01 17:34:32 +00:00
|
|
|
git annex pre-commit `[path ...]`
|
2015-03-25 16:09:49 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
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
|
2015-12-09 19:18:25 +00:00
|
|
|
point to annexed content.
|
|
|
|
|
|
|
|
When in a view, updates metadata to reflect changes
|
2015-03-25 16:09:49 +00:00
|
|
|
made to files in the view.
|
|
|
|
|
2018-10-26 17:56:36 +00:00
|
|
|
When in a repository that has not been upgraded to v7,
|
2015-12-09 19:18:25 +00:00
|
|
|
also handles injecting changes to unlocked files into the annex.
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|