[PATCH 0/3] Rename make_*_path with clearer names
- From
Carlos Martín Nieto <cmn@elego.de>
- Date
- Mar 16, 2011, 16:06 UTC
- Message-ID
- <1300291579-25852-1-git-send-email-cmn@elego.de>
The first patch in this series is in fact a memory-access, but they together logically as enhancements to make_*_path. Just say so if it'd be better to split them up.
The calls have been converted 1-to-1 to use the new names, as the real resolved path is what is needed most of the time.
Carlos Martín Nieto (3):
make_absolute_path: return the input path if it points to our buffer
Name make_*_path functions more accurately
Use the new {real,absolute}_path function namesabspath.c | 26 +++++++++++++++++++++++--- builtin/clone.c | 12 ++++++------ builtin/init-db.c | 8 ++++---- builtin/receive-pack.c | 2 +- cache.h | 6 +++--- dir.c | 4 ++-- environment.c | 4 ++-- exec_cmd.c | 2 +- lockfile.c | 4 ++-- path.c | 2 +- setup.c | 14 ++++++-------- t/t0000-basic.sh | 10 +++++----- test-path-utils.c | 4 ++-- 13 files changed, 58 insertions(+), 40 deletions(-)
-- 1.7.4.1