diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-12-27 01:39:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-27 12:02:40 -0800 |
commit | 88c44735ab24aea3e669501c4491f7c9ca745ca3 (patch) | |
tree | d253dcd65705383ca960fcb8652d5ab487a0aaa5 /diffcore-rename.c | |
parent | a010966844221ea14f1de26fdab8fe37332ff928 (diff) | |
download | git-88c44735ab24aea3e669501c4491f7c9ca745ca3.tar.gz git-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 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions