path.c: and an option to call real_path() in expand_user_path()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 5 Apr 2017 10:24:38 +0000 (17:24 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Apr 2017 06:51:38 +0000 (23:51 -0700)
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found