Thread (194 messages) 194 messages, 11 authors, 2022-04-07

Re: [PATCH 0/3] support `--oid-only` in `ls-tree`

From: Jeff King <hidden>
Date: 2021-11-16 01:13:24

On Mon, Nov 15, 2021 at 04:13:24PM +0100, Ævar Arnfjörð Bjarmason wrote:
But I'd much rather see this be done with adding strbuf_expand() to
ls-tree. I.e. its docs say that it can emit:
I had a similar thought, but that's a much bigger task. I think it would
be reasonable to add --oid-only to match the existing --name-only, etc.
If we later add a custom --format option, then it can easily be folded
in and explained as "this is an alias for --format=%(objectname)", just
like --name-only would become "this is an alias for --format=%(path)".

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