Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-17 02:16:23 +0400
committerJunio C Hamano <gitster@pobox.com>2009-04-18 07:48:32 +0400
commit55f0566f6d7269a56751333e0943b50237ce6a85 (patch)
tree882e7400a1e085b19d31761d0066f515796acf60 /config.c
parentf800b65bea1504299747e7be03ee279508a74e1f (diff)
get_local_heads(): do not return random pointer if there is no head
it's silly to do this: mkdir foo && cd foo && git init && git push somewhere.git but segfault should not happen even in that case. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions