read_gitfile_gently: clarify return value ownership.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
d83d846e84
commit
ea1d87560c
3
setup.c
3
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
|
||||
|
|
Loading…
Reference in New Issue