Code

notes_merge_commit(): do not pass temporary buffer to other function
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 27 Sep 2011 04:46:53 +0000 (06:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Sep 2011 16:58:47 +0000 (09:58 -0700)
commit852844561e8daaa6689cab48a725f764ad5779cb
tree4237e4e34687ab836086c83c7325006a4068d495
parent632052641517de1a965c1f045b97d2eaa541b2e9
notes_merge_commit(): do not pass temporary buffer to other function

It is unsafe to pass a temporary buffer as an argument to
read_directory().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-merge.c