diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2018-04-24 22:56:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-30 09:06:34 +0900 |
commit | d861d34a6ed0d04cef99ad2bdf3fdd3b23cee63a (patch) | |
tree | 47eb94ec3ab65d3ba1cfe0ff7ea939b38dee910c /mergetools/emerge | |
parent | First batch after 2.16 (diff) | |
download | tgif-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 'mergetools/emerge')
0 files changed, 0 insertions, 0 deletions