diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-05-21 02:07:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-21 09:55:23 -0700 |
commit | 8d3e33dadd359495e43cb65dfadd775987e3da26 (patch) | |
tree | 2a88497de52a223fde0197a3397021a811c210ad /builtin/checkout.c | |
parent | builtin/checkout: simplify metadata initialization (diff) | |
download | tgif-8d3e33dadd359495e43cb65dfadd775987e3da26.tar.xz |
t2060: add a test for switch with --orphan and --discard-changes
We have several code paths in the checkout code which are traversed only
in this case, due to switch having different defaults from checkout.
Let's add a test that the combination of options works and produces the
expected behavior.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions