list mirror (unofficial, one of many)
 help / color / Atom feed
From: Ævar Arnfjörð Bjarmason <>
To: Alexander Mills <>
Subject: Re: git-log bug: --grep and -number args are at odds
Date: Tue, 13 Mar 2018 22:57:21 +0100
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Mar 13 2018, Alexander Mills jotted:

> $ git log -50   ###  I get 50 results
> $ git log -50 --grep="*"   ### I get a lot more than 50...
> shouldn't `-50` minimize the results length to 50 or fewer?

On what git version? On my on git.git this works
as expected:

    $ git -c grep.patternType=basic log --oneline -50 --grep="*" |wc -l
    $ git -c grep.patternType=basic log --oneline -50 | wc -l

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 21:42 Alexander Mills
2018-03-13 21:57 ` Ævar Arnfjörð Bjarmason [this message]

Reply instructions:

You may reply publically 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:

  List information:

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

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:
       or Tor2web:

AGPL code for this site: git clone public-inbox