aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-15 23:50:12 +0200
committerJunio C Hamano <gitster@pobox.com>2007-09-16 17:30:04 -0700
commita08f23ab3eab67aac7163a284038f45fa99ef66f (patch)
tree7fc41ff6fe9b4dfa25cd815eb22d1c54cb28f6d7 /templates
parentc7f9cb14286fff23bfe65033d4ec63f84c77f554 (diff)
downloadgit-a08f23ab3eab67aac7163a284038f45fa99ef66f.tar.gz
git-a08f23ab3eab67aac7163a284038f45fa99ef66f.tar.xz
Refactor replace_encoding_header.
* Be more clever in how we search for "encoding ...\n": parse for real instead of the sloppy strstr's. * use strbuf_splice to do the substring replacements. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions