From: "André Hänsel" <andre@webkr.de>
To: <git@vger.kernel.org>
Subject: Is there a hook that runs on git reset?
Date: Sat, 22 Jun 2013 20:52:57 +0200 [thread overview]
Message-ID: <0b6a01ce6f79$b62de4b0$2289ae10$@webkr.de> (raw)
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?
reply other threads:[~2013-06-22 18:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0b6a01ce6f79$b62de4b0$2289ae10$@webkr.de' \
--to=andre@webkr.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).