git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: attempt to trim too many characters
@ 2017-09-05 21:39 Linus Torvalds
  2017-09-05 21:50 ` Jeff King
  0 siblings, 1 reply; 9+ messages in thread
From: Linus Torvalds @ 2017-09-05 21:39 UTC (permalink / raw)
  To: Junio C Hamano, Michael Haggerty; +Cc: Git Mailing List

I just got this with

   gitk --bisect

while doing some bisection on my current kernel.

It happens with "git rev-parse --bisect" too, but interestingly, "git
log --bisect" works fine.

I have not tried to figure out anything further, except that it was
introduced by commit b9c8e7f2f ("prefix_ref_iterator: don't trim too
much") and it happens with

   iter->iter0->refname = "refs/bisect/bad"
   iter->trim = 15

(where 15 is also the same as the length of that refname).

Not having time to chase this down any more, since I'm busy with the
merge window (and that annoying bisect)

              Linus

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-13 11:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05 21:39 BUG: attempt to trim too many characters Linus Torvalds
2017-09-05 21:50 ` Jeff King
2017-09-05 21:55   ` Linus Torvalds
2017-09-05 22:03     ` Jeff King
2017-09-05 22:13       ` Linus Torvalds
2017-09-06 11:53         ` [PATCH] rev-parse: don't trim bisect refnames Jeff King
2017-09-06 15:09           ` Michael Haggerty
2017-09-13  4:29       ` BUG: attempt to trim too many characters Linus Torvalds
2017-09-13 11:06         ` Jeff King

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).