diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-09-06 11:20:07 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-07 06:57:44 (GMT) |
commit | 4a241d79c9020dcafb1f254774bcab200171ab46 (patch) | |
tree | 39402dace82bb4204a7112ff81fca4a93bad286a /ssh-push.c | |
parent | 7a604f16b71e3bfd1c6e30d400f05be918e5376e (diff) | |
download | git-4a241d79c9020dcafb1f254774bcab200171ab46.zip git-4a241d79c9020dcafb1f254774bcab200171ab46.tar.gz git-4a241d79c9020dcafb1f254774bcab200171ab46.tar.bz2 |
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>
Diffstat (limited to 'ssh-push.c')
0 files changed, 0 insertions, 0 deletions