abspath: use strbuf_getcwd() to remember original working directory
commit251277acdf8c8dee59bdd0e9e7b7e3502226cf9d
authorRené Scharfe <l.s.r@web.de>
Mon, 28 Jul 2014 18:27:34 +0000 (28 20:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Aug 2014 18:06:04 +0000 (26 11:06 -0700)
treeb35195fb71027f7d2b1afc2258fdd0094ab0a15a
parent7333ed1788b4f2b162a35003044d77a716732a1f
abspath: use strbuf_getcwd() to remember original working directory

Store the original working directory in a strbuf instead of in a
fixed-sized buffer, in order to be able to handle longer paths.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
abspath.c