diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-09-15 23:50:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-16 17:30:04 -0700 |
commit | a08f23ab3eab67aac7163a284038f45fa99ef66f (patch) | |
tree | 7fc41ff6fe9b4dfa25cd815eb22d1c54cb28f6d7 /Makefile | |
parent | c7f9cb14286fff23bfe65033d4ec63f84c77f554 (diff) | |
download | git-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 'Makefile')
0 files changed, 0 insertions, 0 deletions