Re: [PATCH v3 1/1] ls-tree.c: support `--oid-only` option for "git-ls-tree"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 23, 2021, 01:26 UTC
- Message-ID
- <xmqqpmqrachl.fsf@gitster.g>
- In-Reply-To
- <211123.86tug3wu8v.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> 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.