git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issuing warning when hook does not have execution permission
@ 2014-08-19  6:05 Babak M
  2014-08-19  8:00 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Babak M @ 2014-08-19  6:05 UTC (permalink / raw)
  To: git

Hi,

I saw that if a hook file is present in .git/hooks and it does not
have execution permissions it is silently ignored.

I thought it might be worthwhile issuing a warning such as "Warning:
pre-commit hook exists but it cannot be executed due to insufficient
permissions".

Not sure if this has been discussed before. I searched the archive but
didn't see anything.

Thoughts, suggestions? Is there anything like that already?

Cheers,
Babak

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-20 17:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19  6:05 Issuing warning when hook does not have execution permission Babak M
2014-08-19  8:00 ` Jeff King
2014-08-19 16:52   ` Junio C Hamano
2014-08-20  8:55     ` Chris Packham
2014-08-20 10:19       ` Jeff King
2014-08-20 17:51         ` Junio C Hamano

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).