From: Jakub Narebski Date: Sat, 20 Sep 2008 00:02:53 GMT Subject: Re: [PATCH] Use dashless git commands in setgitperms.perl Message-ID: In-Reply-To: <20080919234234.GL2939@inocybe.teonanacatl.org> Todd Zullinger wrote: >  # 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 > -#     SUBDIRECTORY_OK=1 . 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` and `post-checkout` hook with the >  # following lines: >  #      #!/bin/sh > -#     SUBDIRECTORY_OK=1 . git-sh-setup > +#     SUBDIRECTORY_OK=1 . git sh-setup >  #     $GIT_DIR/hooks/setgitperms.perl -w >  # The rest is probably O.K., but I don't think this change is good one. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git