aboutsummaryrefslogtreecommitdiff
path: root/builtin/symbolic-ref.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-07-06 13:30:49 -0400
committerJunio C Hamano <gitster@pobox.com>2015-07-06 11:07:45 -0700
commitbdf0f375b9cf1c272233583a03eddef1772da99e (patch)
treef1eb9f17587f09e0c5dd6dc5ae502f678f6a068c /builtin/symbolic-ref.c
parent338dfd0da4b7fd3ccf0772788d64cbcdf089f486 (diff)
downloadgit-bdf0f375b9cf1c272233583a03eddef1772da99e.tar.gz
git-bdf0f375b9cf1c272233583a03eddef1772da99e.tar.xz
checkout: drop 'checkout_opts' dependency from prepare_linked_checkout
The plan is to relocate "git checkout --to" functionality to "git worktree add", however, worktree.c won't have access to the 'struct checkout_opts' passed to prepare_linked_worktree(), which it consults for the pathname of the new worktree and the argv[] of the command it should run to populate the new worktree. Facilitate relocation of prepare_linked_worktree() by instead having it accept the pathname and argv[] directly, thus eliminating the final references to 'struct checkout_opts'. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/symbolic-ref.c')
0 files changed, 0 insertions, 0 deletions