summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c901615)
raw | patch | inline | side by side (parent: c901615)
author | Josh England <jjengla@sandia.gov> | |
Tue, 9 Oct 2007 16:04:42 +0000 (10:04 -0600) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Oct 2007 02:11:54 +0000 (22:11 -0400) |
Signed-off-by: Josh England <jjengla@sandia.gov>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/hooks/setgitperms.perl | patch | blob | history |
index 5e3b89def27e28b0ef0a7b4055e7a12494973f87..dab7c8e3a1829b31f2b10eafe8becf0f067b5a05 100644 (file)
# To save permissions/ownership data, place this script in your .git/hooks
# directory and enable a `pre-commit` hook with the following lines:
# #!/bin/sh
-# . git-sh-setup
+# SUBDIRECTORY_OK=1 . git-sh-setup
# $GIT_DIR/hooks/setgitperms.perl -r
#
# To restore permissions/ownership data, place this script in your .git/hooks
-# directory and enable a `post-merge` hook with the following lines:
+# directory and enable a `post-merge` and `post-checkout` hook with the
+# following lines:
# #!/bin/sh
-# . git-sh-setup
+# SUBDIRECTORY_OK=1 . git-sh-setup
# $GIT_DIR/hooks/setgitperms.perl -w
#
use strict;