Merge branch 'kb/blame-author-email'
[gitweb.git] / t / t7608-merge-messages.sh
index 81ced8ac3cc924a8461196cb71d27e9fc3a8f610..9225fa6f025cd9586b46f30464a69ccb57ca6b2a 100755 (executable)
@@ -47,4 +47,14 @@ test_expect_success 'ambiguous tag' '
        check_oneline "Merge commit QambiguousQ"
 '
 
+test_expect_success 'remote-tracking branch' '
+       git checkout -b remote master &&
+       test_commit remote-1 &&
+       git update-ref refs/remotes/origin/master remote &&
+       git checkout master &&
+       test_commit master-5 &&
+       git merge origin/master &&
+       check_oneline "Merge remote-tracking branch Qorigin/masterQ"
+'
+
 test_done