]> git.ipfire.org Git - thirdparty/git.git/commit - path.c
expand_user_path(): clarify the role of the `real_home` parameter
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 24 Jul 2021 22:06:51 +0000 (22:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jul 2021 19:17:16 +0000 (12:17 -0700)
commit644e6b2c0f55fa52de88586d375e03ac7f7914b7
tree13e50c6f15a0e4c8840400a44384f9b9f9fb7a51
parent789f6f226b6c7a5b28468044c1705c62aef5eeb9
expand_user_path(): clarify the role of the `real_home` parameter

The `real_home` parameter only has an effect when expanding paths
starting with `~/`, not when expanding paths starting with `~<user>/`.
Let's make that clear.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c