summaryrefslogtreecommitdiff
path: root/diff-lib.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2009-02-18 19:14:59 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-18 10:25:37 -0800
commit45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be (patch)
treee66190700463bfaa2d287f3f631d04402d5d1f3b /diff-lib.c
parentbuiltin-branch: improve output when displaying remote branches (diff)
downloadtgif-45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be.tar.xz
Avoid segfault with 'git branch' when the HEAD is detached
A recent addition to the ref_item struct was not taken care of, leading to a segmentation fault when accessing the (uninitialized) "dest" member. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions