From: Sven Verdoolaege <skimo@kotnet.org>
To: Bo Yang <struggleyb.nku@gmail.com>
Cc: git@vger.kernel.org, gitster@pobox.com, trast@student.ethz.ch
Subject: Re: [PATCH 1/3 v4] Add a macro DIFF_QUEUE_CLEAR.
Date: Mon, 2 Aug 2010 14:47:29 +0200 [thread overview]
Message-ID: <20100802124729.GK12084MdfPADPa@purples> (raw)
In-Reply-To: <1273207949-18500-2-git-send-email-struggleyb.nku@gmail.com>
On Thu, May 06, 2010 at 09:52:27PM -0700, Bo Yang wrote:
> Refactor the diff_queue_struct code, this macro help
> to reset the structure.
>
[..]
>
> diff --git a/diff.c b/diff.c
> index e40c127..4a350e3 100644
> --- a/diff.c
> +++ b/diff.c
> @@ -2540,6 +2540,7 @@ static void run_checkdiff(struct diff_filepair *p, struct diff_options *o)
> void diff_setup(struct diff_options *options)
> {
> memset(options, 0, sizeof(*options));
> + memset(&diff_queued_diff, 0, sizeof(diff_queued_diff));
>
What's this line for? It doesn't seem to be explained by the commit
message and it breaks "git diff-files -p --submodule".
Without this line, I get the following output in one of my projects:
Submodule barvinok contains untracked content
Submodule barvinok contains modified content
Submodule barvinok e129555..833e4a6:
> iscc: use simplified CLooG interface
Submodule cloog contains untracked content
Submodule cloog f083938..4684a24:
> partial doc
> cloog_names_read_strings: do not generate names if they cannot be read
> cloog_program_read: separate reading from input from construction of CloogProgram
Submodule cloog-polylib contains untracked content
Submodule cloog-polylib contains modified content
Submodule isl contains untracked content
Submodule isl 892fb27..5292e00:
> isl_transitive_closure.c: anonymize input map during incremental computation
> isl_transitive_closure.c: keep track of domains for Floyd-Warshall
> isl_dim_drop: always remove tuple name, even if number of dims to drop is zero
> isl_dim_set_tuple_name: allow explicit removal of tuple name
Submodule isl-polylib contains untracked content
Submodule isl-polylib 531cb00..e9e2edf:
> stop using isl_basic_map internals
Submodule polylib contains untracked content
With the line, I only get
Submodule barvinok contains untracked content
Submodule barvinok contains modified content
Submodule barvinok e129555..833e4a6:
> iscc: use simplified CLooG interface
skimo
next prev parent reply other threads:[~2010-08-02 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 4:52 [PATCH 0/3 v4] Make git log --follow find copies among unmodified files Bo Yang
2010-05-07 4:52 ` [PATCH 1/3 v4] Add a macro DIFF_QUEUE_CLEAR Bo Yang
2010-05-07 4:52 ` [PATCH 2/3 v4] Make diffcore_std only can run once before a diff_flush Bo Yang
2010-05-07 4:52 ` [PATCH 3/3 v4] Make git log --follow find copies among unmodified files Bo Yang
2010-08-02 12:47 ` Sven Verdoolaege [this message]
2010-08-02 15:26 ` [PATCH 1/3 v4] Add a macro DIFF_QUEUE_CLEAR Junio C Hamano
2010-08-02 15:40 ` Bo Yang
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=20100802124729.GK12084MdfPADPa@purples \
--to=skimo@kotnet.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=skimo@liacs.nl \
--cc=struggleyb.nku@gmail.com \
--cc=trast@student.ethz.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).