On Jan 18, 2008, at 7:06 PM, Johannes Schindelin wrote:
On Fri, 18 Jan 2008, Paolo Bonzini wrote:
In the message hook, just grep if the template was already
added. If it
was, just return. If it was not, add it.
Ah, so you want me to always type ":q!" to exit and unnecessarily
complicate the commit-msg hook. Cunning, but no, thanks.
No, my intention was to avoid complications. Like introducing yet
another
commit hook. I like clean, elegant semantics. I don't like
overbloated
semantics. That's why I speak up whenever I fear it is entering git.
FWIW I'd love such a hook and I've been writing wrappers around Git
commit for over a year now to simulate this. I know many people with
whom I work that would also love such a feature.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
-
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