From: David Turner <dturner@twopensource.com>
To: git@vger.kernel.org
Cc: David Turner <dturner@twopensource.com>
Subject: [PATCH v2 0/2] do_compare_entry: use already-computed path
Date: Mon, 21 Dec 2015 17:34:18 -0500 [thread overview]
Message-ID: <1450737260-15965-1-git-send-email-dturner@twopensource.com> (raw)
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 reply other threads:[~2015-12-21 22:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-21 22:34 David Turner [this message]
2015-12-21 22:34 ` [PATCH v2 1/2] traverse_info: make mostly const David Turner
2015-12-21 23:15 ` David Turner
2015-12-21 22:34 ` [PATCH v2 2/2] do_compare_entry: use already-computed path David Turner
2016-01-05 19:40 ` David Turner
2015-12-21 23:27 ` [PATCH v2 0/2] " Junio C Hamano
2015-12-21 23:33 ` David Turner
[not found] ` <CAPc5daW4ru0j4Zd3ynnRcG8df7sZ9ZuVHu8mz2rxVonZpyE4Gw@mail.gmail.com>
2015-12-22 4:26 ` David Turner
2015-12-22 18:51 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450737260-15965-1-git-send-email-dturner@twopensource.com \
--to=dturner@twopensource.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.