summaryrefslogtreecommitdiff
path: root/t/t5100/info0007
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2018-04-24 22:56:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-30 09:06:34 +0900
commit6427f87186e53d9d4319d43e4efbe46bb93b7440 (patch)
tree432fe08364b7f22980e05bc0e243b499236edecd /t/t5100/info0007
parentworktree: improve message when creating a new worktree (diff)
downloadtgif-6427f87186e53d9d4319d43e4efbe46bb93b7440.tar.xz
worktree: factor out dwim_branch function
Factor out a dwim_branch function, which takes care of the dwim'ery in 'git worktree add <path>'. It's not too much code currently, but we're adding a new kind of dwim in a subsequent patch, at which point it makes more sense to have it as a separate function. Factor it out now to reduce the patch noise in the next patch. 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 't/t5100/info0007')
0 files changed, 0 insertions, 0 deletions