diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-02-18 19:14:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-18 10:25:37 -0800 |
commit | 45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be (patch) | |
tree | e66190700463bfaa2d287f3f631d04402d5d1f3b /merge-file.c | |
parent | 209d336ae3923f2c1783a42b12fca50f3bee0802 (diff) | |
download | git-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