Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/2] Add Git::config_path()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:12

Jakub Narebski [off-list ref] writes:
  char *expand_user_path(const char *path)
  [...]
                if (username_len == 0) {
                        const char *home = getenv("HOME");
                        if (!home)
                                goto return_null;
                        strbuf_add(&user_path, home, strlen(home));
                } else {
  [...]
Ahh, Ok. I was afraid getpwnam() codepath might interfere with it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help