From: René Scharfe Date: Mon, 28 Jul 2014 18:33:55 +0000 (+0200) Subject: abspath: convert absolute_path() to strbuf X-Git-Tag: v2.2.0-rc0~173^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/679eebe24d4c2120f8c01fb4524fcc489718fc9c?hp=679eebe24d4c2120f8c01fb4524fcc489718fc9c 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 Signed-off-by: Junio C Hamano ---