Re: [PATCH v4 8/9] Makefile: use $(wspfx) for $(QUIET...) in shared.mak
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 2, 2022, 19:26 UTC
- Message-ID
- <xmqq8rtskvfv.fsf@gitster.g>
- In-Reply-To
- <patch-v4-8.9-3733b0c8df1-20220302T124320Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 9 quoted lines
> Change the mostly move-only change in the preceding commit to use the > $(wspfx) variable for defining the QUIET padding. This refactoring > will make it easier to emit that exact amount of padding in functions > that we might add to shared.mak in the future. > > Such a function is not part of this patch series, but a > "TRACK_template" that I'd like to add as a follow-up to it makes use > of this. Let's make this change now while modifying these QUIET rules > is fresh in our minds.
I do not see why this change is still part of this series, then.
Show 7 quoted lines
> ## Used in "Makefile" > - QUIET_CC = @echo ' ' CC $@; > - QUIET_AR = @echo ' ' AR $@; > ... > + QUIET_CC = @echo $(wspfx_SQ) CC $@; > + QUIET_AR = @echo $(wspfx_SQ) AR $@; > ...
Look how much uglier these lines got.
Without the benefit TRACK_template brings us, whatever that is, this change looks more of an unnecessary churn. Let's leave it to the later series that introduces the user that justifies this change.