Skip to contentSkip to conversation

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

PATCH New Santi Béjar 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

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

---
 t/t5515-fetch-merge-logic.sh      |    1 +
 t/t5515/fetch.br-unconfig_.._.git |    2 ++
 t/t5515/fetch.master_.._.git      |    2 ++
 3 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 t/t5515/fetch.br-unconfig_.._.git
 create mode 100644 t/t5515/fetch.master_.._.git
t/t5515-fetch-merge-logic.sh +1 -0
index 765c83f..0b600bb 100755
@@ -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
t/t5515/fetch.br-unconfig_.._.git new file +2 -0
new file mode 100644
index 0000000..284bb1f
@@ -0,0 +1,2 @@
+# br-unconfig ../.git
+0567da4d5edd2ff4bb292a465ba9e64dcad9536b		../
t/t5515/fetch.master_.._.git new file +2 -0
new file mode 100644
index 0000000..66d1aad
@@ -0,0 +1,2 @@
+# master ../.git
+0567da4d5edd2ff4bb292a465ba9e64dcad9536b		../
Signature · 1 line
1.5.0.3.897.g91a70-dirty