From: Yann Dirson <ydirson@altern.org>
To: git@vger.kernel.org
Subject: [PATCH v2] generalizing sorted-array handling
Date: Sat, 6 Nov 2010 22:00:32 +0100 [thread overview]
Message-ID: <1289077235-3208-1-git-send-email-ydirson@altern.org> (raw)
This is a complete rewrite of the previous series, following a
suggestion by Jonathan Nieder. It is much more generic than the
previous one, and removes existing duplicated code in diffcore-rename.
I also had a quick look at other binary-search occurences in the code
that would share the same search code. That revealed
index_name_pos(): not sure it is a good idea to make it use this API -
it would require changes all over the code. I still include a
possibly-useful additional API for similar cases.
next reply other threads:[~2010-11-06 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-06 21:00 Yann Dirson [this message]
2010-11-06 21:00 ` [PATCH v2 1/3] Introduce sorted-array binary-search function Yann Dirson
2010-11-06 21:00 ` [PATCH v2 2/3] Convert diffcore-rename's rename_src to the new sorted-array API Yann Dirson
2010-11-06 21:00 ` [PATCH v2 3/3] [RFC] Add a sorted-list API for use-cases that require to get the element index Yann Dirson
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=1289077235-3208-1-git-send-email-ydirson@altern.org \
--to=ydirson@altern.org \
--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).