abspath: use strbuf_getcwd() to remember original working directory
commitc3d087b5685aa5c39e04a2d29a6dd2d2b14ab7fb
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>
Mon, 28 Jul 2014 21:03:29 +0000 (28 14:03 -0700)
treeab3fc32631556946be9c4734499ae7d60f1fd27a
parent65c50e958a6a5be5cc43a5deb827a7d40a69c46a
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