mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
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>
This commit is contained in:
parent
c90161586c
commit
03618b9df8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue