git/contrib/hooks
Josh England af6fb4c822 Added example hook script to save/restore permissions/ownership.
Usage info is emebed in the script, but the gist of it is to run the script
from a pre-commit hook to save permissions/ownership data to a file and check
that file into the repository.  Then, a post_merge hook reads the file and
updates working tree permissions/ownership.  All updates are transparent to
the user (although there is a --verbose option).  Merge conflicts are handled
in the "read" phase (in pre-commit), and the script aborts the commit and
tells you how to fix things in the case of a merge conflict in the metadata
file.  This same idea could be extended to handle file ACLs or other file
metadata if desired.

Signed-off-by: Josh England <jjengla@sandia.gov>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-09-18 17:40:24 -07:00
..
post-receive-email War on whitespace 2007-06-07 00:04:01 -07:00
setgitperms.perl Added example hook script to save/restore permissions/ownership. 2007-09-18 17:40:24 -07:00
update-paranoid Use the empty tree for base diff in paranoid-update on new branches 2007-08-10 01:00:25 -07:00