diff options
author | 2019-06-17 10:15:16 -0700 | |
---|---|---|
committer | 2019-06-17 10:15:16 -0700 | |
commit | 3a54d80ac8a1decac6fa158175fb16f0563f5c15 (patch) | |
tree | c03c5ef49769d02e8d20558ffbb8017613e38b87 /t/t5607-clone-bundle.sh | |
parent | Merge branch 'js/bisect-helper-check-get-oid-return-value' (diff) | |
parent | bundle verify: error out if called without an object database (diff) | |
download | tgif-3a54d80ac8a1decac6fa158175fb16f0563f5c15.tar.xz |
Merge branch 'js/bundle-verify-require-object-store'
"git bundle verify" needs to see if prerequisite objects exist in
the receiving repository, but the command did not check if we are
in a repository upfront, which has been corrected.
* js/bundle-verify-require-object-store:
bundle verify: error out if called without an object database
Diffstat (limited to 't/t5607-clone-bundle.sh')
-rwxr-xr-x | t/t5607-clone-bundle.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5607-clone-bundle.sh b/t/t5607-clone-bundle.sh index cf39e9e243..2a0fb15cf1 100755 --- a/t/t5607-clone-bundle.sh +++ b/t/t5607-clone-bundle.sh @@ -14,6 +14,12 @@ test_expect_success 'setup' ' git tag -d third ' +test_expect_success '"verify" needs a worktree' ' + git bundle create tip.bundle -1 master && + test_must_fail nongit git bundle verify ../tip.bundle 2>err && + test_i18ngrep "need a repository" err +' + test_expect_success 'annotated tags can be excluded by rev-list options' ' git bundle create bundle --all --since=7.Apr.2005.15:14:00.-0700 && git ls-remote bundle > output && |