@matheusbsbs / matheus-bagliano / commits / 03618b9df8
Fork 0

Minor usage update in setgitperms.perl

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>

Josh England committed Oct 9, 2007 at 10:04 UTC 03618b9df84a0e94e36fdb27060e605e85b956e9
1 file changed +4 -3
contrib/hooks/setgitperms.perl
+4 -3
@@ -8,13 +8,14 @@
8 # To save permissions/ownership data, place this script in your .git/hooks
9 # directory and enable a `pre-commit` hook with the following lines:
10 # #!/bin/sh
11 -# . git-sh-setup
11 +# SUBDIRECTORY_OK=1 . git-sh-setup
12 # $GIT_DIR/hooks/setgitperms.perl -r
13 #
14 # To restore permissions/ownership data, place this script in your .git/hooks
15 -# directory and enable a `post-merge` hook with the following lines:
15 +# directory and enable a `post-merge` and `post-checkout` hook with the
16 +# following lines:
17 # #!/bin/sh
17 -# . git-sh-setup
18 +# SUBDIRECTORY_OK=1 . git-sh-setup
19 # $GIT_DIR/hooks/setgitperms.perl -w
20 #
21 use strict;