get_local_heads(): do not return random pointer if there is no head
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 16 Apr 2009 22:16:23 +0000 (08:16 +1000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Apr 2009 03:48:32 +0000 (20:48 -0700)
commit55f0566...6d7269a56751333e0943b50237ce6a85
tree882e740...a1e085b19d31761d0066f515796acf60copy hash to clipboard (tree)
parentf800b65...ea1504299747e7be03ee279508a74e1fcopy hash to clipboard (diff)
remote.c