]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5511-refspec.sh
refspec: make @ a synonym of HEAD
[thirdparty/git.git] / t / t5511-refspec.sh
index f541f30bc2f8745dad051bc10a0989be1f2b3ff0..f808649de4cb8f0a948d7e016f196bba2efe2cc7 100755 (executable)
@@ -58,6 +58,8 @@ test_refspec fetch 'HEAD~4:refs/remotes/frotz/new'            invalid
 
 test_refspec push 'HEAD'
 test_refspec fetch 'HEAD'
+test_refspec push '@'
+test_refspec fetch '@'
 test_refspec push 'refs/heads/ nitfol'                         invalid
 test_refspec fetch 'refs/heads/ nitfol'                                invalid