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)
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>
No differences found