Re: kh/name-rev-custom-format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 26, 2026, 19:44 UTC
- Message-ID
- <xmqqecl6pe8u.fsf@gitster.g>
- In-Reply-To
- <8c9dd9f9-4d41-4901-b1fb-080e4e73b40a@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 9 quoted lines
> With git-name-rev(1) it looked like formatting options could crowd up > the place. > >> Wouldn't this be done as a new option to "git log", for example? > > Okay with me. > > git-log(1) blocks until I have closed stdin and effectively dedups > the output.
Ah, I forgot about the "--stdin" mode. That makes it a non-starter X-<. Sorry about the noise.
Show 13 quoted lines
> > git log --oneline --stdin --no-walk > HEAD > HEAD > HEAD > ^D > <HEAD is listed one time> > > So if an option could tweak it to instead (1) give one output per line > (like git-name-rev(1)) and (2) not deduplicate (well, follows from (1)) > then the problem seems solved. > > Thinking out loud here.