From: Junio C Hamano Date: Tue, 23 Nov 2021 01:26:30 GMT Subject: Re: [PATCH v3 1/1] ls-tree.c: support `--oid-only` option for "git-ls-tree" Message-ID: In-Reply-To: <211123.86tug3wu8v.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > All of which (and more) would also be addressed in an obvious way by > just supporting --format as I suggested in > https://lore.kernel.org/git/211115.86o86lqe3c.gmgdl@evledraar.gmail.com/; > don't you think that's a better approach? That is what I would call over-engineering that I would rather not to have in low level plumbing. I am all for making _parsing_ the output from the tool easier by scripts; I am not interested in eliminating the _output_ by scripts. They should capture and format the pieces we output in any way they want. So, no, I do not think it is a better approach at all.