git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Michael S. Tsirkin" <mst@dev.mellanox.co.il>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] fix parallel make problem
Date: Fri, 31 Aug 2007 09:01:34 -0700	[thread overview]
Message-ID: <7vmyw71yn5.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <7vr6lj1zg3.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Fri, 31 Aug 2007 08:44:12 -0700")

Junio C Hamano <gitster@pobox.com> writes:

> "Michael S. Tsirkin" <mst@dev.mellanox.co.il> writes:
> ...
>> So maybe we can suppress the warning when the output is not a tty?
>
> What's your point?
>
> I did not even want to apply that "empty diff --git removal"
> patch.  I certainly do _NOT_ want to suppress that replacement
> warning anywhere.
>
> You are seriously tempting me to revert the commit
> fb13227e089f22dc31a3b1624559153821056848 (git-diff: squelch
> "empty" diffs)...

This probably needs clarification.

That warning came because I was experimenting your reproduction
recipe of touching revision.c before building.  In earlier git,
it would have shown "diff --git a/revision.c b/revision.c"
without any actual diff text to remind me of that fact, and I
would have liked it better than the current "warning at the end"
behaviour for this particular case.  It was a reminder that my
recollection of what I did (and what my understanding of what
the state of my work tree is) matches the reality, but the new
"squelched" behaviour lost that value.

With the older git, whenever I sent out such a "this is how you
would do it" patch without committing [*1*], I removed those
"expected to be empty" diffs by hand after making a mental note
that these were to be expected and my understanding of where I
am matches reality.  It was a good thing.

The new "single warning at the end" was deliberately done to
reduce the "clutter" (which, this exchange is reminding me was
not clutter at all but valuable information) as a response to
requests from some people on the list, but because it was made
much less visible, it made me to miss it.

Having said that, I am _not_ going to revert that change at this
late in the game, but I am really tempted to add an option and a
configuration variable to revive the original behaviour (and of
course I'd set that configuration variable in _my_ repository).


[Footnote]

*1* Most of the patches I send out to the list are done that
way; I do "commit then send patch" much less often than "edit,
test, send 'diff HEAD' to the list and reset, intending to later
"am" it from the list if it is accepted favourably on the list".

  parent reply	other threads:[~2007-08-31 16:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30  6:38 parallel make problem with git Michael S. Tsirkin
2007-08-30  6:46 ` Junio C Hamano
2007-08-30  6:50   ` Michael S. Tsirkin
2007-08-30  7:27   ` [PATCH] fix parallel make problem Michael S. Tsirkin
2007-08-31  2:02     ` Junio C Hamano
2007-08-31  8:06       ` Michael S. Tsirkin
2007-08-31  8:12         ` Junio C Hamano
2007-08-31  8:15           ` Michael S. Tsirkin
2007-08-31  8:36             ` Junio C Hamano
2007-08-31 15:21               ` Michael S. Tsirkin
2007-08-31 15:44                 ` Junio C Hamano
2007-08-31 16:00                   ` Michael S. Tsirkin
2007-08-31 16:11                     ` Johannes Schindelin
2007-08-31 16:01                   ` Junio C Hamano [this message]
2007-08-31 16:03                   ` Jeff King
2007-08-31 20:13                     ` [PATCH] diff: resurrect the traditional empty "diff --git" behaviour Junio C Hamano
2007-08-31 20:32                       ` Jeff King
2007-08-31 20:57                         ` Johannes Schindelin
2007-08-31 21:16                           ` Junio C Hamano
2007-08-31 21:30                             ` Johannes Schindelin
2007-08-31 21:20                           ` David Kastrup
2007-08-31 21:32                       ` Alex Riesen
2007-08-31 22:37                       ` Steven Grimm
2007-09-01  1:27                         ` Junio C Hamano
2007-09-03  8:09                           ` Matthieu Moy
2007-09-03  8:36                             ` 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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vmyw71yn5.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=mst@dev.mellanox.co.il \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).