From: orgads@gmail.com
To: git@vger.kernel.org
Cc: Orgad Shaneh <orgads@gmail.com>
Subject: [PATCH] add a test for "describe --contains" with mixed tags
Date: Thu, 19 Oct 2017 22:55:01 +0300 [thread overview]
Message-ID: <20171019195501.28622-1-orgads@gmail.com> (raw)
From: Orgad Shaneh <orgads@gmail.com>
---
t/t6120-describe.sh | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh
index 1c0e865..08427f4 100755
--- a/t/t6120-describe.sh
+++ b/t/t6120-describe.sh
@@ -340,4 +340,20 @@ test_expect_success ULIMIT_STACK_SIZE 'describe works in a deep repo' '
test_cmp expect actual
'
+test_expect_success 'describe --contains for light before annotated' '
+ test_tick &&
+ git commit --allow-empty -m First &&
+ test_tick &&
+ git commit --allow-empty -m Second &&
+ test_tick &&
+ git commit --allow-empty -m Third &&
+ test_tick &&
+ git tag light-before-annotated HEAD^ &&
+ test_tick &&
+ git tag -a -m annotated annotated-after-light
+
+'
+
+check_describe light-before-annotated~1 --contains light-before-annotated~1
+
test_done
--
1.9.1
next reply other threads:[~2017-10-19 19:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 19:55 orgads [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-24 17:02 [PATCH] add a test for "describe --contains" with mixed tags orgads
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171019195501.28622-1-orgads@gmail.com \
--to=orgads@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.