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

[PATCH v2 0/2] Fix a refname trimming problem in `log --bisect`

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Jun 18, 2017, 13:39 UTC
Message-ID
<cover.1497792827.git.mhagger@alum.mit.edu>

This is v2 of these patches. Thanks to Peff and Junio for their feedback about v1 [1].

Changes since v1:
* Added a test and tweaked the commit message of the first patch.

As before, the second patch is optional. If it is omitted, it might flush out any other bugs like this one in client code. If it is included, regressions are less likely, but we won't learn about other misuses of the API. I have no strong opinion either way.

Michael
[1] http://public-inbox.org/git/cover.1497430232.git.mhagger@alum.mit.edu/
Michael Haggerty (2):
  for_each_bisect_ref(): don't trim refnames
  prefix_ref_iterator_advance(): relax the check of trim length
 refs.c                     | 12 ++++++++++++
 refs.h                     |  5 ++++-
 refs/iterator.c            |  8 ++++----
 revision.c                 |  2 +-
 t/t6002-rev-list-bisect.sh | 14 ++++++++++++++
 5 files changed, 35 insertions(+), 6 deletions(-)
-- 
2.11.0
Next: Michael Haggerty
Message 1 of 6 in “Fix a refname trimming problem in `log --bisect`”
  1. 0/2 Fix a refname trimming problem in `log --bisect`Michael Haggerty, Jun 18, 2017
  2. 1/2 for_each_bisect_ref(): don't trim refnamesMichael Haggerty, Jun 18, 2017
  3. 2/2 prefix_ref_iterator_advance(): relax the check of trim lengthMichael Haggerty, Jun 18, 2017
  4. Jeff KingJun 19, 2017
  5. Junio C HamanoJun 19, 2017
  6. Jeff KingJun 19, 2017

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.