summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2018-04-24 22:56:32 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-30 09:06:34 +0900
commitd861d34a6ed0d04cef99ad2bdf3fdd3b23cee63a (patch)
tree47eb94ec3ab65d3ba1cfe0ff7ea939b38dee910c /send-pack.c
parentFirst batch after 2.16 (diff)
downloadtgif-d861d34a6ed0d04cef99ad2bdf3fdd3b23cee63a.tar.xz
worktree: remove extra members from struct add_opts
There are two members of 'struct add_opts', which are only used inside the 'add()' function, but being part of 'struct add_opts' they are needlessly also passed to the 'add_worktree' function. Make them local to the 'add()' function to make it clearer where they are used. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.c')
0 files changed, 0 insertions, 0 deletions