summaryrefslogtreecommitdiff
path: root/merge-file.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-02-18 19:14:59 +0100
committerJunio C Hamano <gitster@pobox.com>2009-02-18 10:25:37 -0800
commit45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be (patch)
treee66190700463bfaa2d287f3f631d04402d5d1f3b /merge-file.c
parent209d336ae3923f2c1783a42b12fca50f3bee0802 (diff)
downloadgit-45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be.tar.gz
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 'merge-file.c')
0 files changed, 0 insertions, 0 deletions