bisect: copy filename string obtained from git_path()
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 26 Apr 2012 22:26:59 +0000 (00:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 20:15:35 +0000 (13:15 -0700)
commit144e7090045a703c8f5d140474f202ba4f38ac9a
treec14d77bf2b2c6d5e5c24035e47887baeb39e33d9
parent989c0e5d02b1844b44e5ea2ff61a2cbd2f054a25
bisect: copy filename string obtained from git_path()

Prevent the string from being overwritten by other callers of
git_path() and friends before we are done using it.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c