[RFC/PoC 4/5] Doc Bundles: add t6102 rev-list simple and pulls examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux