diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2017-09-26 13:21:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-27 09:13:47 +0900 |
commit | d83d846e84d6ba6c7c4221d2681dfde820949362 (patch) | |
tree | 419e19a5f114d409897f616929020e9cf0e74a8f | |
parent | Sync with 2.14.2 (diff) | |
download | tgif-d83d846e84d6ba6c7c4221d2681dfde820949362.tar.xz |
real_path: clarify return value ownership
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | abspath.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -202,6 +202,10 @@ error_out: return retval; } +/* + * Resolve `path` into an absolute, cleaned-up path. The return value + * comes from a shared buffer. + */ const char *real_path(const char *path) { static struct strbuf realpath = STRBUF_INIT; |