threads / patch / 10217

patchMinor usage update in setgitperms.perl

Subject: [PATCH] Minor usage update in setgitperms.perl

## tl;dr

One message between Oct 9, 2007 and Oct 9, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Josh England· Oct 9, 2007, 16:04 UTC · lore
Signed-off-by: Josh England <jjengla@sandia.gov>
---
 contrib/hooks/setgitperms.perl |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
Show changes to contrib/hooks/setgitperms.perl +4 −3
diff --git a/contrib/hooks/setgitperms.perl b/contrib/hooks/setgitperms.perl
index 5e3b89d..bd48e27 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;
-- 
1.5.3.2.111.g5166-dirty

← back to recent threads