summaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-27 06:34:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-27 06:34:01 (GMT)
commitb4833a2c62578bdbfd300e296702214cb1b9a601 (patch)
tree89268d44aea3a16ec57d6a4aa860ef517af65095 /git-lost-found.sh
parent1dffb8fa8056860e769f3a0c6e232d436f5a5c17 (diff)
downloadgit-b4833a2c62578bdbfd300e296702214cb1b9a601.zip
git-b4833a2c62578bdbfd300e296702214cb1b9a601.tar.gz
git-b4833a2c62578bdbfd300e296702214cb1b9a601.tar.bz2
rerere: Fix use of an empty strbuf.buf
The code incorrectly assumed that strbuf.buf is always an allocated piece of memory that has NUL at offset strbuf.len. That assumption does not hold for a freshly initialized empty strbuf. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-lost-found.sh')
0 files changed, 0 insertions, 0 deletions