summaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-08-29 13:37:06 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-30 00:19:42 -0700
commitfc1c75ec74c372670f01f22c68193156a445728a (patch)
tree512e48046d30c057393a843fdd2a047d3a202f0c /server-info.c
parent28f5c70b859e02e6b688bf35605678680c08045b (diff)
downloadgit-fc1c75ec74c372670f01f22c68193156a445728a.tar.gz
log-tree.c: cleanup a bit append_signoff()
This patch clean up append_signoff() by moving specific code that looks up for "^[-A-Za-z]+: [^@]+@" pattern into a function. It also stops the primary search when the cursor oversteps 'buf + at' limit. This patch changes slightly append_signoff() behaviour too. If we detect any Signed-off-by pattern during the primary search, we needn't to do a pattern research after. Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'server-info.c')
0 files changed, 0 insertions, 0 deletions