author | Pierre Habouzit <madcoder@debian.org> | |
Thu, 6 Sep 2007 11:20:07 +0000 (13:20 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Sep 2007 06:57:44 +0000 (23:57 -0700) | ||
commit | 4a241d79c9020dcafb1f254774bcab200171ab46 | |
tree | 39402dace82bb4204a7112ff81fca4a93bad286a | tree | snapshot |
parent | 7a604f16b71e3bfd1c6e30d400f05be918e5376e | commit | diff |
fast-import: Use strbuf API, and simplify cmd_data()
This patch features the use of strbuf_detach, and prevent the programmer
to mess with allocation directly. The code is as efficent as before, just
more concise and more straightforward.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch features the use of strbuf_detach, and prevent the programmer
to mess with allocation directly. The code is as efficent as before, just
more concise and more straightforward.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c | diff | blob | history |