expand_user_path(): remove stale part of the comment

In 395de250d9d (Expand ~ and ~user in core.excludesfile, commit.template, 2009-11-17), the `user_path()` function was refactored into the `expand_user_path()`. During that refactoring, the `buf` parameter was lost, but the code comment above said function still talks about it. Let's remove that stale part of the comment. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Jul 24, 2021 at 22:06 UTC 789f6f226b6c7a5b28468044c1705c62aef5eeb9
1 file changed +2 -3
path.c
+2 -3
@@ -719,9 +719,8 @@ static struct passwd *getpw_str(const char *username, size_t len)
719 }
720
721 /*
722 - * Return a string with ~ and ~user expanded via getpw*. If buf != NULL,
723 - * then it is a newly allocated string. Returns NULL on getpw failure or
724 - * if path is NULL.
722 + * Return a string with ~ and ~user expanded via getpw*. Returns NULL on getpw
723 + * failure or if path is NULL.
724 *
725 * If real_home is true, strbuf_realpath($HOME) is used in the expansion.
726 */