git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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 names
 abspath.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
Next: Carlos Martín Nieto
Message 1 of 10 in “Rename make_*_path with clearer names”
  1. 0/3 Rename make_*_path with clearer namesCarlos Martín Nieto, Mar 16, 2011
  2. 1/3 make_absolute_path: return the input path if it points to our bufferCarlos Martín Nieto, Mar 16, 2011
  3. Junio C HamanoMar 16, 2011
  4. 2/3 Name make_*_path functions more accuratelyCarlos Martín Nieto, Mar 16, 2011
  5. Brian GernhardtMar 16, 2011
  6. Carlos Martín NietoMar 16, 2011
  7. 3/3 Use the new {real,absolute}_path function namesCarlos Martín Nieto, Mar 16, 2011
  8. Erik Faye-LundMar 16, 2011
  9. Carlos Martín NietoMar 16, 2011
  10. 3/3 Name make_*_path functions more accuratelyCarlos Martín Nieto, Mar 16, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.