From: Philip Oakley <philipoakley@iee.email>
To: GitList <git@vger.kernel.org>
Cc: Self <philipoakley@iee.email>, Junio C Hamano <gitster@pobox.com>,
Taylor Blau <me@ttaylorr.com>
Subject: [RFC/PoC 4/5] Doc Bundles: add t6102 rev-list simple and pulls examples
Date: Wed, 2 Nov 2022 22:48:42 +0000 [thread overview]
Message-ID: <20221102224843.2104-5-philipoakley@iee.email> (raw)
In-Reply-To: <20221102224843.2104-1-philipoakley@iee.email>
The choice of the t6012-rev-list-simplify examples as the initial
examples is somewhat arbitrary, and based on having the example
available in my editor at the time.
The environment variable GIT_BUILD_DIR is expected to contain
the absolute path to that directory. Later commits will set that up
in the test-lib-setup.
Signed-off-by: Philip Oakley <philipoakley@iee.email>
---
t/t6012-rev-list-simplify.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/t/t6012-rev-list-simplify.sh b/t/t6012-rev-list-simplify.sh
index de1e87f162..8931102392 100755
--- a/t/t6012-rev-list-simplify.sh
+++ b/t/t6012-rev-list-simplify.sh
@@ -101,6 +101,10 @@ test_expect_success setup '
note L
'
+test_expect_success 'bundle simple repo' '
+ git bundle create ${GIT_BUNDLE_DIR}/t6102-rev-list-simple.bndl --all
+'
+
FMT='tformat:%P %H | %s'
check_outcome () {
@@ -240,6 +244,10 @@ test_expect_success 'setup rebuild repo' '
note P
'
+test_expect_success 'bundle pulls repo' '
+ git bundle create ${GIT_BUNDLE_DIR}/t6102-rev-list-pulls.bndl --all
+'
+
check_result 'X I' -- file
check_result 'N R X I' --show-pulls -- file
--
2.38.1.281.g83ef3ded8d
next prev parent reply other threads:[~2022-11-02 22:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 22:48 [RFC/PoC 0/5] Provide example docbundles Philip Oakley
2022-11-02 22:48 ` [RFC/PoC 1/5] doc: provide DocBundles design document Philip Oakley
2022-11-03 9:19 ` Ævar Arnfjörð Bjarmason
2022-11-03 19:50 ` Philip Oakley
2022-11-03 20:36 ` Ævar Arnfjörð Bjarmason
2022-11-02 22:48 ` [RFC/PoC 2/5] Documentation Bundles: ignore artifact files from creating doc bundles Philip Oakley
2022-11-03 9:12 ` Ævar Arnfjörð Bjarmason
2022-11-03 19:50 ` Philip Oakley
2022-11-02 22:48 ` [RFC/PoC 3/5] test-lib: add GIT_BUNDLE_DIR setup Philip Oakley
2022-11-03 9:14 ` Ævar Arnfjörð Bjarmason
2022-11-03 19:50 ` Philip Oakley
2022-11-02 22:48 ` Philip Oakley [this message]
2022-11-02 22:48 ` [RFC/PoC 5/5] docbundle: provide the git-log History Simplification example Philip Oakley
2022-11-03 9:17 ` Ævar Arnfjörð Bjarmason
2022-11-03 19:50 ` Philip Oakley
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=20221102224843.2104-5-philipoakley@iee.email \
--to=philipoakley@iee.email \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=me@ttaylorr.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).