From: Nguyễn Thái Ngọc Duy Date: Wed, 5 Apr 2017 10:24:38 +0000 (+0700) Subject: path.c: and an option to call real_path() in expand_user_path() X-Git-Tag: v2.13.0-rc1~32^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4aad2f1627bb74948874c0f31e8ce256bf236aa6?ds=inline;hp=4aad2f1627bb74948874c0f31e8ce256bf236aa6 path.c: and an option to call real_path() in expand_user_path() In the next patch we need the ability to expand '~' to real_path($HOME). But we can't do that from outside because '~' is part of a pattern, not a true path. Add an option to expand_user_path() to do so. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---