diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-11-16 07:37:44 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-17 17:24:35 (GMT) |
commit | 3696a7c2d9a4f3227dd7719b734e9db242aae6af (patch) | |
tree | ef0c2b3226343ba2aacf6d436d814eca3a4eaee3 /test-path-utils.c | |
parent | 49e0c5ad0ab95e450138105ff27688861a4a1557 (diff) | |
download | git-3696a7c2d9a4f3227dd7719b734e9db242aae6af.zip git-3696a7c2d9a4f3227dd7719b734e9db242aae6af.tar.gz git-3696a7c2d9a4f3227dd7719b734e9db242aae6af.tar.bz2 |
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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-path-utils.c')
0 files changed, 0 insertions, 0 deletions