git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Riesen" <raa.lkml@gmail.com>
To: "Junio C Hamano" <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/5] diff --quiet
Date: Thu, 15 Mar 2007 00:14:55 +0100	[thread overview]
Message-ID: <81b0412b0703141614m70f4a565qc001e06e60b0ffd5@mail.gmail.com> (raw)
In-Reply-To: <7vodmv7bza.fsf@assigned-by-dhcp.cox.net>

On 3/14/07, Junio C Hamano <junkio@cox.net> wrote:
> This adds the command line option 'quiet' to tell 'git diff-*'
> that we are not interested in the actual diff contents but only
> want to know if there is any change.  This option automatically
> turns --exit-code on, and turns off output formatting, as it
> does not make much sense to show the first hit we happened to
> have found.

Now I'm happy :)

~/linux$ time git diff-tree -r -s v2.6.16 v2.6.20

real    0m0.137s
user    0m0.117s
sys     0m0.020s
~/linux$ time ~/projects/git-diff/git-diff-tree -r --quiet v2.6.16 v2.6.20

real    0m0.006s
user    0m0.000s
sys     0m0.007s

  parent reply	other threads:[~2007-03-14 23:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 18:24 [PATCH 1/2] diff --quick Junio C Hamano
2007-03-14 21:26 ` [PATCH 1/5] Remove unused diffcore_std_no_resolve Junio C Hamano
2007-03-14 21:26 ` [PATCH 2/5] diff --quiet Junio C Hamano
2007-03-14 22:33   ` Alex Riesen
2007-03-14 22:54     ` Alex Riesen
2007-03-14 23:37       ` Junio C Hamano
2007-03-15  8:22         ` Alex Riesen
2007-03-14 23:14   ` Alex Riesen [this message]
2007-03-14 23:53     ` Junio C Hamano
2007-03-15  0:33       ` Linus Torvalds
2007-03-15  1:23         ` Junio C Hamano
2007-03-15  6:47           ` Junio C Hamano
2007-03-15 16:08             ` Linus Torvalds
2007-03-15  8:19       ` Alex Riesen
2007-03-15 10:37         ` Johannes Schindelin
2007-03-15 13:55           ` Alex Riesen
2007-03-15 17:43             ` Johannes Schindelin
2007-03-15 21:08               ` Alex Riesen
2007-03-15 21:12                 ` Johannes Schindelin
2007-03-16  0:16                   ` Junio C Hamano
2007-03-14 21:26 ` [PATCH 3/5] Teach --quiet to diff backends Junio C Hamano
2007-03-14 21:26 ` [PATCH 4/5] revision.c: explain what tree_difference does Junio C Hamano
2007-03-14 21:26 ` [PATCH 5/5] try-to-simplify-commit: use diff-tree --quiet machinery 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=81b0412b0703141614m70f4a565qc001e06e60b0ffd5@mail.gmail.com \
    --to=raa.lkml@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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).