diff options
author | Anthony HAMON <antham@users.noreply.github.com> | 2017-12-01 16:27:52 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-12-01 16:27:52 +0100 |
commit | 44c364fe3b7b8cdc0f9623afe870d6781a97ebb4 (patch) | |
tree | 03284e910c75da7c896381b439c04498eabe63db /_examples/common_test.go | |
parent | e20d3347d26f0b7193502e2ad7386d7c504b0cde (diff) | |
download | go-git-44c364fe3b7b8cdc0f9623afe870d6781a97ebb4.tar.gz |
Fix revision solver for branch and tag (#660)
fix Repository.ResolveRevision for branch and tag
Diffstat (limited to '_examples/common_test.go')
-rw-r--r-- | _examples/common_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go index d164297..6f8df45 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -23,6 +23,7 @@ var args = map[string][]string{ "open": {cloneRepository(defaultURL, tempFolder())}, "progress": {defaultURL, tempFolder()}, "push": {setEmptyRemote(cloneRepository(defaultURL, tempFolder()))}, + "revision": {cloneRepository(defaultURL, tempFolder()), "master~2^"}, "showcase": {defaultURL, tempFolder()}, "tag": {cloneRepository(defaultURL, tempFolder())}, "pull": {createRepositoryWithRemote(tempFolder(), defaultURL)}, |