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

5 messages from 2013-01-16 to 2013-01-16. Participants: Brian Gernhardt, Junio C Hamano.
Thread: https://gitlist.dev/t/32644

## Brian Gernhardt, 2013-01-16 02:05

Subject: [PATCH 0/3] Update HTTPD/daemon tests for new push.default
Message-ID: <cover.1358301792.git.brian@gernhardtsoftware.com>
URL: https://gitlist.dev/e/cover.1358301792.git.brian%40gernhardtsoftware.com

```
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, 2013-01-16 02:05

Subject: [PATCH 1/3] t5550: do not assume the "matching" push is the default
Message-ID: <0b1d36198b986bbbf4f421032e793b5f4dbed5c3.1358301792.git.brian@gernhardtsoftware.com>
URL: https://gitlist.dev/e/0b1d36198b986bbbf4f421032e793b5f4dbed5c3.1358301792.git.brian%40gernhardtsoftware.com
In-Reply-To: <cover.1358301792.git.brian@gernhardtsoftware.com>

```
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5550-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)

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, 2013-01-16 02:05

Subject: [PATCH 2/3] t5551: do not assume the "matching" push is the default
Message-ID: <9527529195b1364b47774001a8709cda3ba6fdd5.1358301792.git.brian@gernhardtsoftware.com>
URL: https://gitlist.dev/e/9527529195b1364b47774001a8709cda3ba6fdd5.1358301792.git.brian%40gernhardtsoftware.com
In-Reply-To: <cover.1358301792.git.brian@gernhardtsoftware.com>

```
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5551-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)

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, 2013-01-16 02:05

Subject: [PATCH 3/3] t5570: do not assume the "matching" push is the default
Message-ID: <bf3e44800542d2d0834cf25caf08ff5851142f67.1358301792.git.brian@gernhardtsoftware.com>
URL: https://gitlist.dev/e/bf3e44800542d2d0834cf25caf08ff5851142f67.1358301792.git.brian%40gernhardtsoftware.com
In-Reply-To: <cover.1358301792.git.brian@gernhardtsoftware.com>

```
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
---
 t/t5570-git-daemon.sh | 1 +
 1 file changed, 1 insertion(+)

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

```

## Junio C Hamano, 2013-01-16 02:39

Subject: Re: [PATCH 0/3] Update HTTPD/daemon tests for new push.default
Message-ID: <7v38y126no.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v38y126no.fsf%40alter.siamese.dyndns.org
In-Reply-To: <cover.1358301792.git.brian@gernhardtsoftware.com>

```
These are tests that I do not usually run myself.

Thanks for catching and correcting them.

```
