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

[PATCH v2 0/2] do_compare_entry: use already-computed path

From
David Turner <dturner@twopensource.com>
Date
Dec 21, 2015, 22:34 UTC
Message-ID
<1450737260-15965-1-git-send-email-dturner@twopensource.com>

This version strdups the path to avoid it getting mutated. Problem noted by Junio.

David Turner (2):
  traverse_info: make mostly const
  do_compare_entry: use already-computed path
 builtin/merge-tree.c     |  2 +-
 cache-tree.c             |  4 ++--
 cache-tree.h             |  2 +-
 t/t4010-diff-pathspec.sh |  2 +-
 tree-walk.c              |  9 +++++++-
 tree-walk.h              |  5 +++--
 unpack-trees.c           | 55 ++++++++++++++++++++++++++++++++++++++++--------
 7 files changed, 62 insertions(+), 17 deletions(-)
-- 
2.4.2.749.g730654d-twtrsrc
Next: David Turner
Message 1 of 9 in “do_compare_entry: use already-computed path”
  1. 0/2 do_compare_entry: use already-computed pathDavid Turner, Dec 21, 2015
  2. 1/2 traverse_info: make mostly constDavid Turner, Dec 21, 2015
  3. David TurnerDec 21, 2015
  4. 2/2 do_compare_entry: use already-computed pathDavid Turner, Dec 21, 2015
  5. David TurnerJan 5, 2016
  6. Junio C HamanoDec 21, 2015
  7. David TurnerDec 21, 2015
  8. David TurnerDec 22, 2015
  9. Junio C HamanoDec 22, 2015

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.