Is there a hook that runs on git reset?

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

 



I am using a script that runs as post-checkout and post-merge hook to ensure
some permissions on the working copy files.

Neither of these hooks is run on git reset, so after a git reset --hard the
permissions are lost because apparently the files were created freshly. I
guess I would have expected post-checkout to run.

Is there a hook that runs on git reset that I can use to run my permissions
script?


--
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]