summaryrefslogtreecommitdiff
path: root/contrib/remotes2config.sh
diff options
context:
space:
mode:
authorLibravatar Jim Meyering <jim@meyering.net>2009-05-23 14:26:44 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-23 10:29:22 -0700
commit5ffd3113d4109ae5d3595425af3ff4a781617631 (patch)
tree528b46a692ff9fdf5421fcaee3ff612f0da75d1c /contrib/remotes2config.sh
parentMinGW: Fix compiler warning in merge-recursive (diff)
downloadtgif-5ffd3113d4109ae5d3595425af3ff4a781617631.tar.xz
post-receive-email: hooks.showrev: show how to include both web link and patch
Add a comment showing how to include a web link (i.e. gitweb/cgit) and a patch in the email that is sent for each pushed commit. The quoting was tricky enough that it's worth documenting. To add two blank lines (i.e. put \n\n in the printf), you would need to say \\\\n\\\\n, and in the end, the pair of "echo" statements seemed better. This is used in glibc.git repository: http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=summary push-triggered messages have been sent to this list since May 21: http://sourceware.org/ml/glibc-cvs/2009-q2/ Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remotes2config.sh')
0 files changed, 0 insertions, 0 deletions