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
6 6
7git checkout -q -b main7git checkout -q -b main
8git commit -q --allow-empty -m c18git commit -q --allow-empty -m c1
9git branch dt1
10git branch d1
9 11
10mkdir -p .git/refs/remotes/origin12mkdir -p .git/refs/remotes/origin
13
11cp .git/refs/heads/main .git/refs/remotes/origin/14cp .git/refs/heads/main .git/refs/remotes/origin/
15cp .git/refs/heads/main .git/refs/d1
16
17echo "ref: refs/remotes/origin/main" > .git/refs/remotes/origin/HEAD
12 18
13git tag t119git tag t1
20git tag dt1