History

[git-ref] handle all find_one cases as per docs

Sebastian Thiel committed 5 years ago

Commit 3c0acc61 parent b3c4e923 files · +18 −1Browse files

Showing the changes to git-ref/tests/fixtures (1 of 3 files). Show all

Unified · Split

git-ref/tests/fixtures/make_ref_repository.sh+7−0
@@ -6,8 +6,15 @@ git config commit.gpgsign false · 5 unmodified lines
66
77 git checkout -q -b main
88 git commit -q --allow-empty -m c1
9+git branch dt1
10+git branch d1
911
1012 mkdir -p .git/refs/remotes/origin
13+
1114 cp .git/refs/heads/main .git/refs/remotes/origin/
15+cp .git/refs/heads/main .git/refs/d1
16+
17+echo "ref: refs/remotes/origin/main" > .git/refs/remotes/origin/HEAD
1218
1319 git tag t1
20+git tag dt1