]> git.ipfire.org Git - thirdparty/git.git/commit
t5516: add test case for pushing remote refspecs
authorGlen Choo <chooglen@google.com>
Thu, 18 Nov 2021 00:53:21 +0000 (16:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Nov 2021 06:31:18 +0000 (22:31 -0800)
commite083ef5d54707a4bb855e8ac6f6ee0576a020349
treea0dc7e859f52a838d5b0264755c6598eda2a957b
parent2bd2f258f4195ac54293a3f45b86457c0bd5fc11
t5516: add test case for pushing remote refspecs

"git push remote-name" (that is, with no refspec given on the command
line) should push the refspecs in remote.remote-name.push. There is no
test case that checks this behavior in detached HEAD, so add one.

Signed-off-by: Glen Choo <chooglen@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh