[PATCH v2 0/2] Fix a refname trimming problem in `log --bisect`
Junio C Hamano
Nguyễn Thái Ngọc Duy
Stefan Beller
Jeff King
Ævar Arnfjörð Bjarmason
David Turner
Brandon Williams
Johannes Sixt
Øyvind Holm
Linus Torvalds
Michael Haggerty
Michael Haggerty
2017-06-18 13:39:40 UTC
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.


[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(-)