diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-05 07:48:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-05 07:48:19 +0300 |
commit | e46ebc27547e3d09385a76ade7ab11dc794f7595 (patch) | |
tree | 30cb7479169551ea70b0efaf87881d1a0001b6d1 /path.c | |
parent | efe9d6ce33ed817150f4ff63ebfc14a3f7667eb4 (diff) | |
parent | 38bdf62b738bb93f7e1a6af8058dc31f27c91d4e (diff) |
Merge branch 'rs/cleanup-strbuf-users'
Code clean-up.
* rs/cleanup-strbuf-users:
graph: use strbuf_addchars() to add spaces
use strbuf_addstr() for adding strings to strbufs
path: use strbuf_add_real_path()
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -718,7 +718,7 @@ char *expand_user_path(const char *path, int real_home) if (!home) goto return_null; if (real_home) - strbuf_addstr(&user_path, real_path(home)); + strbuf_add_real_path(&user_path, home); else strbuf_addstr(&user_path, home); #ifdef GIT_WINDOWS_NATIVE |