diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2018-04-24 22:56:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-30 09:06:34 +0900 |
commit | 6427f87186e53d9d4319d43e4efbe46bb93b7440 (patch) | |
tree | 432fe08364b7f22980e05bc0e243b499236edecd /t/t5405-send-pack-rewind.sh | |
parent | worktree: improve message when creating a new worktree (diff) | |
download | tgif-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/t5405-send-pack-rewind.sh')
0 files changed, 0 insertions, 0 deletions