diff options
author | René Scharfe <l.s.r@web.de> | 2014-07-28 20:33:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-26 11:06:06 -0700 |
commit | 679eebe24d4c2120f8c01fb4524fcc489718fc9c (patch) | |
tree | 0dffe663fbce093ec9c07ab1c621b3d143995db3 /contrib/mw-to-git | |
parent | use xgetcwd() to set $GIT_DIR (diff) | |
download | tgif-679eebe24d4c2120f8c01fb4524fcc489718fc9c.tar.xz |
abspath: convert absolute_path() to strbuf
Move most of the code of absolute_path() into the new function
strbuf_add_absolute_path() and in the process transform it to use
struct strbuf and xgetcwd() instead of a PATH_MAX-sized buffer,
which can be too small on some file systems.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git')
0 files changed, 0 insertions, 0 deletions