Introduce new static function real_path_internal()
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 28 Oct 2012 16:16:20 +0000 (17:16 +0100)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 06:34:57 +0000 (02:34 -0400)
commit038e55fec2153a8195236d57dced4bbb001ccf3c
tree362c3ad7f2e760e0cb05dd46135e8db2942c7ff6
parent652398a88e7c3d18b6820a2ae369b05d26dc757f
Introduce new static function real_path_internal()

It accepts a new parameter, die_on_error.  If die_on_error is false,
it simply cleans up after itself and returns NULL rather than dying.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Jeff King <peff@peff.net>
abspath.c