Browse Source

t/t5515-fetch-merge-logic.sh: Add two more tests

They test the behaviour with just a URL in the command line.

Signed-off-by: Santi B,Ai(Bjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Santi B,Ai(Bjar 18 years ago committed by Junio C Hamano
parent
commit
e3d842cf12
  1. 1
      t/t5515-fetch-merge-logic.sh
  2. 2
      t/t5515/fetch.br-unconfig_.._.git
  3. 2
      t/t5515/fetch.master_.._.git

1
t/t5515-fetch-merge-logic.sh

@ -114,6 +114,7 @@ done >> tests @@ -114,6 +114,7 @@ done >> tests
# neither in the Pull: or .fetch config
for branch in master br-unconfig ; do
cat <<EOF
$branch ../.git
$branch ../.git one
$branch ../.git one two
$branch --tags ../.git

2
t/t5515/fetch.br-unconfig_.._.git

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# br-unconfig ../.git
0567da4d5edd2ff4bb292a465ba9e64dcad9536b ../

2
t/t5515/fetch.master_.._.git

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# master ../.git
0567da4d5edd2ff4bb292a465ba9e64dcad9536b ../
Loading…
Cancel
Save