From: Josh England Date: Tue, 9 Oct 2007 16:04:42 +0000 (-0600) Subject: Minor usage update in setgitperms.perl X-Git-Tag: v1.5.4-rc0~361 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03618b9df84a0e94e36fdb27060e605e85b956e9;p=git.git Minor usage update in setgitperms.perl Signed-off-by: Josh England Signed-off-by: Lars Hjemli Signed-off-by: Shawn O. Pearce --- diff --git a/contrib/hooks/setgitperms.perl b/contrib/hooks/setgitperms.perl index 5e3b89def..dab7c8e3a 100644 --- a/contrib/hooks/setgitperms.perl +++ b/contrib/hooks/setgitperms.perl @@ -8,13 +8,14 @@ # 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;