Name make_*_path functions more accurately
commite2a57aac8a8a2b786739a5a93ea9dcfd2f0fd0e2
authorCarlos Martín Nieto <cmn@elego.de>
Thu, 17 Mar 2011 11:26:46 +0000 (17 12:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2011 23:08:30 +0000 (17 16:08 -0700)
treeb17a832e94e5b0e6eeff36616a46205f4eb84571
parenta3ca9b0fbe21d7a2525877fe0c008b61c56f7104
Name make_*_path functions more accurately

Rename the make_*_path functions so it's clearer what they do, in
particlar make clear what the differnce between make_absolute_path and
make_nonrelative_path is by renaming them real_path and absolute_path
respectively. make_relative_path has an understandable name and is
renamed to relative_path to maintain the name convention.

The function calls have been replaced 1-to-1 in their usage.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
abspath.c
builtin/clone.c
builtin/init-db.c
builtin/receive-pack.c
cache.h
dir.c
environment.c
exec_cmd.c
lockfile.c
path.c
setup.c
t/t0000-basic.sh
test-path-utils.c
wrapper.c