From: Han-Wen Nienhuys Date: Tue, 26 Sep 2017 11:21:49 GMT Subject: [PATCH 2/3] read_gitfile_gently: clarify return value ownership. Message-ID: <20170926112150.21850-3-hanwen@google.com> In-Reply-To: <20170926112150.21850-1-hanwen@google.com> Signed-off-by: Han-Wen Nienhuys --- setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.c b/setup.c index 42400fcc5..8c95841d5 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 -- 2.14.1.821.g8fa685d3b7-goog