diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index 40ebf2e2bf705888795c7ff8f40e5e27203c4e3f..d2176571462af7dd66ecdb197731cd9d810dccdf 100755 (executable)
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
'
}
+test_expect_success 'fetch with a non-applying branch.<name>.merge' '
+ git config branch.master.remote yeti &&
+ git config branch.master.merge refs/heads/bigfoot &&
+ git config remote.blub.url one &&
+ git config remote.blub.fetch "refs/heads/*:refs/remotes/one/*" &&
+ git fetch blub
+'
+
test_done