summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorFabian Ruch <bafain@gmail.com>2014-03-15 12:14:40 +0100
committerJunio C Hamano <gitster@pobox.com>2014-03-18 12:47:29 -0700
commitc45a18e88f47fc9b23f8e8e7b14a030434917a66 (patch)
treeaf79409e04717098c12015a4ea97744a5dba3b51 /sha1_file.c
parent16216b6ab1073b7aaa8225c32208758e6ea16629 (diff)
downloadgit-c45a18e88f47fc9b23f8e8e7b14a030434917a66.tar.gz
add: use struct argv_array in run_add_interactive()fr/add-interactive-argv-array
run_add_interactive() in builtin/add.c manually computes array bounds and allocates a static args array to build the add--interactive command line, which is error-prone. Use the argv-array helper functions instead. Signed-off-by: Fabian Ruch <bafain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions