git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] commit.c: use the generic "sha1_pos" function for lookup sha1

From
Duy Nguyen <pclouds@gmail.com>
Date
Feb 26, 2014, 10:53 UTC
Message-ID
<CACsJy8BQKHuvLpCQMuVK79owdoTbHkS0k3yNJ_9fyvDiJooJgg@mail.gmail.com>
In-Reply-To
<530DBCF3.9060801@yandex.ru>

On Wed, Feb 26, 2014 at 5:07 PM, Dmitry S. Dolzhenko <dmitrys.dolzhenko@yandex.ru> wrote:

> Refactor binary search in "commit_graft_pos" function: use
> generic "sha1_pos" function.

For fun, try to break your changes deliberately then run "make test" and see if the failed tests can lead you back to this function. I hear some people gather in irc. I think they could help you faster when you need to track this code. Else get support from this mailing list. If the test suite does not detect it at all, you can add new tests to cover it.

-- 
Duy
Previous: Dmitry S. Dolzhenko
Message 4 of 4 in “commit.c: use the generic "sha1_pos" function for lookup sha1”
  1. commit.c: use the generic "sha1_pos" function for lookup sha1Dmitry S. Dolzhenko, Feb 26, 2014
  2. Jeff KingFeb 26, 2014
  3. Dmitry S. DolzhenkoFeb 26, 2014
  4. Duy NguyenFeb 26, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.