threads / patch / 32644

patch, 3 partst5550: do not assume the "matching" push is the default

Subject: [PATCH 1/3] t5550: do not assume the "matching" push is the default

## tl;dr

5 messages between Jan 16, 2013 and Jan 16, 2013. Diffs are folded; open one to read it.

replies: 4people: 2as markdown or json

Brian Gernhardt· Jan 16, 2013, 02:05 UTC · lore

[PATCH 0/3] Update HTTPD/daemon tests for new push.default

I saw a string of these commits already, but found a few more when running the test suite.

Brian Gernhardt (3):
  t5550: do not assume the "matching" push is the default
  t5551: do not assume the "matching" push is the default
  t5570: do not assume the "matching" push is the default
 t/t5550-http-fetch.sh | 1 +
 t/t5551-http-fetch.sh | 1 +
 t/t5570-git-daemon.sh | 1 +
 3 files changed, 3 insertions(+)
-- 
1.8.1.rc1.222.gec797b3
Brian Gernhardt· Jan 16, 2013, 02:05 UTC · re: Brian Gernhardt · lore
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5550-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)
Show changes to t/t5550-http-fetch.sh +1 −0
diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh
index 80d20c8..f7d0f14 100755
--- a/t/t5550-http-fetch.sh
+++ b/t/t5550-http-fetch.sh
@@ -13,6 +13,7 @@ LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5550'}
 start_httpd
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content1 >file &&
 	git add file &&
 	git commit -m one
-- 
1.8.1.rc1.222.gec797b3
Brian Gernhardt· Jan 16, 2013, 02:05 UTC · re: Brian Gernhardt · lore

[PATCH 2/3] t5551: do not assume the "matching" push is the default

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5551-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)
Show changes to t/t5551-http-fetch.sh +1 −0
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh
index c5cd2e3..1b55086 100755
--- a/t/t5551-http-fetch.sh
+++ b/t/t5551-http-fetch.sh
@@ -13,6 +13,7 @@ LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5551'}
 start_httpd
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content >file &&
 	git add file &&
 	git commit -m one
-- 
1.8.1.rc1.222.gec797b3
Brian Gernhardt· Jan 16, 2013, 02:05 UTC · re: Brian Gernhardt · lore

[PATCH 3/3] t5570: do not assume the "matching" push is the default

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5570-git-daemon.sh | 1 +
 1 file changed, 1 insertion(+)
Show changes to t/t5570-git-daemon.sh +1 −0
diff --git a/t/t5570-git-daemon.sh b/t/t5570-git-daemon.sh
index a3a4e47..f01edff 100755
--- a/t/t5570-git-daemon.sh
+++ b/t/t5570-git-daemon.sh
@@ -8,6 +8,7 @@ LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-5570}
 start_git_daemon
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content >file &&
 	git add file &&
 	git commit -m one
-- 
1.8.1.rc1.222.gec797b3

← back to recent threads