Re: [PATCH] Use dashless git commands in setgitperms.perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux