From: Junio C Hamano Date: Thu, 26 Mar 2026 19:44:33 GMT Subject: Re: kh/name-rev-custom-format Message-ID: In-Reply-To: <8c9dd9f9-4d41-4901-b1fb-080e4e73b40a@app.fastmail.com> "Kristoffer Haugsbakk" writes: > 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. > > git log --oneline --stdin --no-walk > HEAD > HEAD > HEAD > ^D > > > 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.