git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
To: git@vger.kernel.org
Subject: Requesting suggestions for a good sample "prepare-commit-msg" hook
Date: Wed, 05 Jul 2017 22:15:52 +0530	[thread overview]
Message-ID: <1499273152.16389.2.camel@gmail.com> (raw)

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

             reply	other threads:[~2017-07-05 16:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 16:45 Kaartic Sivaraam [this message]
2017-07-05 17:00 ` Requesting suggestions for a good sample "prepare-commit-msg" hook 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

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=1499273152.16389.2.camel@gmail.com \
    --to=kaarticsivaraam91196@gmail.com \
    --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).