summaryrefslogtreecommitdiff
path: root/resolve-undo.c
diff options
context:
space:
mode:
authorLibravatar Jordan DE GEA <jordan.de-gea@grenoble-inp.org>2016-05-27 15:17:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-31 12:28:25 -0700
commit1a450e2fd1f82311b214851d5b097b74c8fb0ade (patch)
treef06a2ef566d95a336e854212c7ad41aed2f7912d /resolve-undo.c
parentFinal batch before 2.9-rc1 (diff)
downloadtgif-1a450e2fd1f82311b214851d5b097b74c8fb0ade.tar.xz
worktree: allow "-" short-hand for @{-1} in add command
Since `git worktree add` uses `git checkout` when `[<branch>]` is used, and `git checkout -` is already supported, it makes sense to allow the same shortcut in `git worktree add`. Signed-off-by: Jordan DE GEA <jordan.de-gea@grenoble-inp.org> Signed-off-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'resolve-undo.c')
0 files changed, 0 insertions, 0 deletions