From: Han-Wen Nienhuys Date: Tue, 26 Sep 2017 11:21:49 +0000 (+0200) Subject: read_gitfile_gently: clarify return value ownership. X-Git-Tag: v2.15.0-rc0~22^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ea1d87560c5d66396d1785a208783cbf7a1651c2;p=git-core%2Fgit.git read_gitfile_gently: clarify return value ownership. Signed-off-by: Han-Wen Nienhuys Signed-off-by: Junio C Hamano --- diff --git a/setup.c b/setup.c index 6d8380acd..d777ff34b 100644 --- a/setup.c +++ b/setup.c @@ -541,7 +541,8 @@ void read_gitfile_error_die(int error_code, const char *path, const char *dir) /* * Try to read the location of the git directory from the .git file, - * return path to git directory if found. + * return path to git directory if found. The return value comes from + * a shared buffer. * * On failure, if return_error_code is not NULL, return_error_code * will be set to an error code and NULL will be returned. If