summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorNikolaus Schuetz <nikolauspschuetz@gmail.com>2026-07-30 06:19:09 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-30 09:01:51 -0700
commit89454a60ed3c668aabdc372327207096c9613e56 (patch)
tree770d9385fc1f991f8ee99bc91ea60e83f7cb34cd /contrib/persistent-https
parent9a0c4701dcd5725c4184599322b52933ff5005ca (diff)
merge-base: add tests for --is-ancestor
`git merge-base --is-ancestor A B` is used a lot in scripts but has no tests. Add some to t6010 covering its exit codes: 0 when A is an ancestor of B, 1 when it is not, and 128 (not 1) when given a bad argument. Also check that --is-ancestor and --all can't be combined, and that the resulting error names both options. Signed-off-by: Nikolaus Schuetz <nikolauspschuetz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions