git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Requesting suggestions for a good sample "prepare-commit-msg" hook
@ 2017-07-05 16:45 Kaartic Sivaraam
  2017-07-05 17:00 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Kaartic Sivaraam @ 2017-07-05 16:45 UTC (permalink / raw)
  To: git

Hello all,

There's an attempt in progress to replace the part of the sample
"prepare-commit-msg" hook that comments the "Conflicts" part of a merge
commit message. This is being done as the "Conflicts" portion is
commented by default for quite some time (since 2014) and thus the
script in the hook is useless.

It's worth noting that it was the only part of the sample hook that
*wasn't* commented by default i.e., it was the only portion of the
sample hook that could be used just by enabling it by renaming the
hook. So, just removing that portion of the solution wouldn't be a
solution as it wouldn't be nice to have a whole sample hook to be
commented for various reasons. So, we're searching for scripts that
could both be  helpful to users and could serve as a good sample to
prove what could be done using the hooks.

In case anyone has any suggestions about what could prove to be an
alternative please send them in!

-- 
Kaartic

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

end of thread, other threads:[~2017-07-06  3:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 16:45 Requesting suggestions for a good sample "prepare-commit-msg" hook Kaartic Sivaraam
2017-07-05 17:00 ` Junio C Hamano
2017-07-05 17:26   ` Kaartic Sivaraam
2017-07-05 18:19     ` Kaartic Sivaraam
2017-07-05 19:19       ` Junio C Hamano
2017-07-06  3:28         ` Kaartic Sivaraam

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