summaryrefslogtreecommitdiff
path: root/templates/hooks--update.sample
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2008-12-27 01:39:35 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-27 12:02:40 -0800
commit88c44735ab24aea3e669501c4491f7c9ca745ca3 (patch)
treed253dcd65705383ca960fcb8652d5ab487a0aaa5 /templates/hooks--update.sample
parentpretty: factor out skip_empty_lines() (diff)
downloadtgif-88c44735ab24aea3e669501c4491f7c9ca745ca3.tar.xz
pretty: factor out format_subject()
The next patch will use it. In the version that was factored out, we can't rely on the len of the struct strbuf to find out if a line separator needs to be added, as it might already contain something. Add a guard variable ("first") instead. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--update.sample')
0 files changed, 0 insertions, 0 deletions