From: Jeff King <peff@peff.net>
To: git@vger.kernel.org
Subject: [PATCH 0/2] corner cases with "rev-list --use-bitmap-index -n"
Date: Thu, 2 Jun 2016 19:09:25 -0400 [thread overview]
Message-ID: <20160602230925.GA11196@sigill.intra.peff.net> (raw)
This series fixes two corner-cases I found when using "-n" along with
bitmaps. The results do make _some_ sense if you interpret them
correctly, but are sufficiently confusing that I think it's worth
dealing with. See the commit messages for the gory details.
The good news is that in the first case, we can produce a more sensible
answer without spending any extra work.
The bad news is that the second case cannot, and must fall back to a
regular traversal. I doubt anybody even cares about this case in
practice, though, as "--objects -n" is somewhat nonsensical already (I
didn't run across it in practice; I only noticed while I fixing the
first one, which I did see in practice).
[1/2]: rev-list: "adjust" results of "--count --use-bitmap-index -n"
[2/2]: rev-list: disable bitmaps when "-n" is used with listing objects
-Peff
next reply other threads:[~2016-06-02 23:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 23:09 Jeff King [this message]
2016-06-02 23:10 ` [PATCH 1/2] rev-list: "adjust" results of "--count --use-bitmap-index -n" Jeff King
2016-06-03 7:06 ` [PATCH v2 0/2] corner cases with "rev-list " Jeff King
2016-06-03 7:07 ` [PATCH v2 1/2] rev-list: "adjust" results of "--count " Jeff King
2016-06-03 7:08 ` [PATCH v2 2/2] rev-list: disable bitmaps when "-n" is used with listing objects Jeff King
2016-06-02 23:10 ` [PATCH " Jeff King
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=20160602230925.GA11196@sigill.intra.peff.net \
--to=peff@peff.net \
--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 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).