On Mon, 25 Apr 2011, Viktor T. Toth wrote:
< OK, so here is a question: Is it within the capabilities of Git to change
< the post-commit script parameters (or to whatever other forms of magic it
< might take to accomplish this) to give a more meaningful subject line?
< Compare this:
<
< [Maxima-commits] maxima/share/tensor tetrad.dem,1.5,1.6
<
< to this:
<
< [Maxima-commits] Maxima, A Computer Algebra System branch, master,
< updated. 6211ffd0300c0cf1f9b4aeaeebeb0b9608f9619c
<
< CVS told me precisely what I needed to know: which file was updated. Git
< tells me what Maxima is, that the "master" branch was updated (d'oh!) and
< some hex nonsense that I am sure means something to some people but is
< completely meaningless to me. I must say that I found the CVS message far
< more informative and helpful (as in, letting me know whether or not I should
< take a closer look at a particular edit, or being able to search for
< specific edits in my mail.) The Git subject line might as well be just a
< random string, as it has no information content.
The short answer is yes.
The longer answer is that the post-receive hook script will need to
be edited/customised.
At the momenet, I am working on scripting an auto-update of the bug
tracker from commits, so you will need to put up with the commit
emails for the moment.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.