Thread (9 messages) flat view 9 messages, 4 authors, 2016-06-15

Re: [PATCH] Initialize notes trees if %N is used and no --show-notes given

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:34

Thomas Rast [off-list ref] writes:
quoted
I'd really like %N to do the initialization. There is no other
placeholder which requires an extra option to work, if I see it
correctly.
%g[dDs] expand to nothing unless the log command walks reflogs, so
there is some precedent.
As Peff pointed out, %d does things lazily, but I suspect it might be hard
to do a similar initialization for %N.

I wonder if we can inspect-but-not-use format string before we even start
walking, to see if we need notes (when we see %N).

None of the abouve applies to %g because making it cause reflog walking
will change not only the output, but the fundamental behaviour of the
command.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help