]> git.ipfire.org Git - thirdparty/git.git/commit - abspath.c
Introduce new function real_path_if_valid()
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 28 Oct 2012 16:16:22 +0000 (17:16 +0100)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 06:34:58 +0000 (02:34 -0400)
commite3e46cdbd45c2e7383df9de1787e23489dc66dbc
treead73b04f0a16f9c707f26d20a41ce87dddc64502
parentd6052abca39fc84fed4f3248be042cfb6bf635d5
Introduce new function real_path_if_valid()

The function is like real_path(), except that it returns NULL on error
instead of dying.

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