t2106: make test independent of the current main branch name
commitbce46b1adc57945c26dea91829dfa7315f9292e7
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 18 Nov 2020 14:49:06 +0000 (18 14:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Nov 2020 18:27:38 +0000 (18 10:27 -0800)
treea351596b154d1cab7e05d7ffcbc91f5e32158d39
parenta900999d7cd74f878686933a6341e3852726165d
t2106: make test independent of the current main branch name

We do have this wonderful shortcut `git checkout -` to go back to the
previous branch, thanks to the reflog.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2106-update-index-assume-unchanged.sh