cmd_config(): make a copy of path obtained from git_path()
authorMichael Haggerty <redacted>
Sun, 16 Nov 2014 07:37:44 +0000 (08:37 +0100)
committerJunio C Hamano <redacted>
Mon, 17 Nov 2014 17:24:35 +0000 (09:24 -0800)
commit3696a7c2d9a4f3227dd7719b734e9db242aae6af
treeef0c2b3226343ba2aacf6d436d814eca3a4eaee3
parent49e0c5ad0ab95e450138105ff27688861a4a1557
cmd_config(): make a copy of path obtained from git_path()

The strings returned by git_path() are recycled after a while.  Make
a copy of the config filename rather than holding onto the return
value from git_path().

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/config.c
git clone https://git.99rst.org/PROJECT