builtin/branch: remove redundant check for HEAD
authorKaartic Sivaraam <kaartic.sivaraam@gmail.com>
Tue, 14 Nov 2017 11:42:59 +0000 (17:12 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 02:43:29 +0000 (11:43 +0900)
commit662a4c8a097248a3c08a671866ecf37743f3ca4d
tree90b49dd44b8fe45ee56aa974d92884318eadc888
parenta625b092cc59940521789fe8a3ff69c8d6b14eb2
builtin/branch: remove redundant check for HEAD

The lower level code has been made to handle this case for the
sake of consistency. This has made this check redundant.

So, remove the redundant check.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c