-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fully qualified ref name for tag when conflicting with branch name
- Loading branch information
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/sh | ||
|
||
. libtest.sh | ||
. libgit.sh | ||
|
||
export LINES=18 | ||
|
||
steps ' | ||
:save-display refs-initial.screen | ||
' | ||
|
||
in_work_dir create_repo_from_tgz "$base_dir/files/refs-repo.tgz" | ||
in_work_dir git branch v2.0 v2.0.1 | ||
|
||
test_tig refs | ||
|
||
assert_equals 'refs-initial.screen' <<EOF | ||
All references | ||
2010-04-07 05:37 +0000 Max Power master Commit 10 E | ||
2009-02-13 23:31 +0000 Max Power mp/feature WIP: feature | ||
2009-12-26 01:11 +0000 作者 r1.1.2 Commit 8 C | ||
2009-12-26 01:11 +0000 作者 r1.1.x Commit 8 C | ||
2009-12-17 12:49 +0000 René Lévesque r1.0 Commit 8 B | ||
2010-03-12 16:31 +0000 René Lévesque v2.0 Commit 10 B | ||
2010-04-07 05:37 +0000 Max Power origin/master Commit 10 E | ||
2010-04-07 05:37 +0000 Max Power max-power/master Commit 10 E | ||
2009-02-13 23:31 +0000 Max Power max-power/mp/feature WIP: feature | ||
2009-11-30 12:05 +0000 Max Power max-power/mp/gh-123 Commit 7 E | ||
2010-04-07 05:37 +0000 Max Power origin/HEAD Commit 10 E | ||
2010-01-12 01:56 +0000 Max Power mp/good Commit 8 E | ||
2010-03-04 04:09 +0000 A. U. Thor refs/tags/v2.0 Commit 10 A | ||
2010-03-12 16:31 +0000 René Lévesque v2.0.1 Commit 10 B | ||
2010-01-20 14:18 +0000 A. U. Thor v1.1.1 Commit 9 A | ||
[refs] All references 88% | ||
EOF |