Skip to content

Commit

Permalink
Minor usage update in setgitperms.perl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh England authored and Shawn O. Pearce committed Oct 16, 2007
1 parent c901615 commit 03618b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contrib/hooks/setgitperms.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 03618b9

Please sign in to comment.