summaryrefslogtreecommitdiff
path: root/t/t6012-rev-list-simplify.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2020-10-08 10:13:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-08 17:40:16 (GMT)
commita15ad5d1bc23f3a6842360df5ee840b1dc3e4888 (patch)
tree8f49dac72125bd0a36b23f576535e42bc8175c9a /t/t6012-rev-list-simplify.sh
parentd98273ba77e1ab9ec755576bc86c716a97bf59d7 (diff)
downloadgit-a15ad5d1bc23f3a6842360df5ee840b1dc3e4888.zip
git-a15ad5d1bc23f3a6842360df5ee840b1dc3e4888.tar.gz
git-a15ad5d1bc23f3a6842360df5ee840b1dc3e4888.tar.bz2
t1415: avoid using `main` as ref name
In preparation for a patch series that will change the fall-back for `init.defaultBranch` to `main`, let's not use `main` as ref name in this test script. Otherwise, the `git for-each-ref ... | grep main` which wants to catch those refs would also unexpectedly catch `refs/heads/main`. Since the refs in question are worktree-local ones (i.e. each worktree has their own, just like `HEAD`), and since the test case already uses a secondary worktree called "second", let's use the name "first" for those refs instead. While at it, adjust the test titles that talk about a "repo" when they meant a "worktree" instead. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6012-rev-list-simplify.sh')
0 files changed, 0 insertions, 0 deletions