From: Junio C Hamano Date: Mon, 17 Nov 2014 17:25:07 GMT Subject: Re: [PATCH] cmd_config(): Make a copy of path obtained from git_path() Message-ID: In-Reply-To: <1416123464-22874-1-git-send-email-mhagger@alum.mit.edu> Michael Haggerty writes: > The strings returned by git_path() are recycled after a while. So make > a copy of the config filename rather than holding onto the return > value from git_path(). Good thinking. I agree that is an accident waiting to happen.