All of lore.kernel.org
 help / color / mirror / Atom feed
* log --format existence of notes?
@ 2024-11-15 22:00 Bence Ferdinandy
  2024-11-16  0:06 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Bence Ferdinandy @ 2024-11-15 22:00 UTC (permalink / raw)
  To: git

Hi,

based on the man pages it doesn't seem possible, but maybe I'm missing something.

I would like to put together a "log --format=" which is similar to --oneline,
but where if there's a note for the commit it's marked with e.g. a notebook
symbol. There's %N, but that prints the entire note, so it doesn't work well
with one commit per line.

E.g. something like this, where Taylor's commit does not have a note, but mine do:

eb12efd995 2024-10-08 Bence Ferdin.. remote set-head: refactor for readability 📓
a189f4e077 2024-09-28 Bence Ferdin.. refs: atomically record overwritten ref in update_symref 📓
ae0b28db8c 2024-10-19 Bence Ferdin.. t/t5505-remote: set default branch to main 📓
15030f9556 2024-10-15 Taylor Blau    The second batch

Is there a way to do this now? If not, maybe a "%N?" might be a nice addition?

Thanks,
Bence

-- 
bence.ferdinandy.com


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

end of thread, other threads:[~2024-12-01  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15 22:00 log --format existence of notes? Bence Ferdinandy
2024-11-16  0:06 ` Junio C Hamano
2024-11-16 15:11   ` Bence Ferdinandy
2024-11-20 17:04     ` [PATCH] ref-filter: add "notes" atom Kousik Sanagavarapu
2024-11-20 23:51       ` Junio C Hamano
2024-12-01  8:19         ` Kousik Sanagavarapu
2024-11-21  5:26     ` log --format existence of notes? Simon Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.