diff options
author | René Scharfe <l.s.r@web.de> | 2014-07-28 20:26:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-26 11:06:04 -0700 |
commit | 7333ed1788b4f2b162a35003044d77a716732a1f (patch) | |
tree | 230375db7638058facd456e8676138f0a6a17082 /t/t5100 | |
parent | unix-sockets: use strbuf_getcwd() (diff) | |
download | tgif-7333ed1788b4f2b162a35003044d77a716732a1f.tar.xz |
setup: convert setup_git_directory_gently_1 et al. to strbuf
Convert setup_git_directory_gently_1() and its helper functions
setup_explicit_git_dir(), setup_discovered_git_dir() and
setup_bare_git_dir() to use a struct strbuf to hold the current working
directory. Replacing the PATH_MAX-sized buffer used before removes a
path length limition on some file systems. The functions are converted
all in one go because they all read and write the variable cwd.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100')
0 files changed, 0 insertions, 0 deletions