diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2012-09-12 16:04:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-12 11:43:24 -0700 |
commit | e448fed8e6ba9cd9237b7c8045c11cc40afc8595 (patch) | |
tree | 29417037d3510afd9623a3f35c371a312179ee83 /builtin/diff-index.c | |
parent | The fourth batch for 1.8.0 (diff) | |
download | tgif-e448fed8e6ba9cd9237b7c8045c11cc40afc8595.tar.xz |
string_list: add function string_list_append_nodup()
Add a new function that appends a string to a string_list without
copying it. This can be used to pass ownership of an already-copied
string to a string_list that has strdup_strings set.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-index.c')
0 files changed, 0 insertions, 0 deletions