diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-11-16 08:37:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-17 09:24:35 -0800 |
commit | 3696a7c2d9a4f3227dd7719b734e9db242aae6af (patch) | |
tree | ef0c2b3226343ba2aacf6d436d814eca3a4eaee3 /contrib/hooks | |
parent | Git 2.2.0-rc2 (diff) | |
download | tgif-3696a7c2d9a4f3227dd7719b734e9db242aae6af.tar.xz |
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 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions