Re: Bug in gitk search box

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: Bug in gitk search box

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:24

Paul Mackerras [off-list ref] writes:
It turns out that this problem crept in when I changed from using git
rev-list --header to git log -z --pretty=raw, and the thing that
causes it is that git rev-list puts a null character after every
commit, while git log only puts a null between commits, i.e., there
isn't a null after the last commit.

Junio, is this behaviour deliberate?
There was a recent message from Linus on the list, stating that
NUL in -z format is inter-record separator, not after-record
terminator.

Re: Bug in gitk search box

From: Paul Mackerras <hidden>
Date: 2016-06-15 22:43:24

Junio C Hamano writes:
There was a recent message from Linus on the list, stating that
NUL in -z format is inter-record separator, not after-record
terminator.
OK, I'll have to change gitk then.  It looks like both Marco and I got
tricked by this.  I suggest it's worth a mention in the documentation.

Paul.

Re: Bug in gitk search box

From: Marco Costalba <hidden>
Date: 2016-06-15 22:43:24

On 7/26/07, Paul Mackerras [off-list ref] wrote:
OK, I'll have to change gitk then.  It looks like both Marco and I got
tricked by this.
Yes. With commit c1672ba272c8e of 22 of Jun I make qgit to always
append a '\0' at the end of the stream so to avoid to change parsing
function.

Marco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help