Re: Remove help advice text from git editors for interactive rebase and reword
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 24, 2017, 21:47 UTC
- Message-ID
- <xmqqvamhbj7z.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170724184707.22828-1-szeder.dev@gmail.com>
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 6 quoted lines
> While these reminders are useful for new users, with time they learn > what the score is, and experienced users might find these advices are > just wasting a couple of lines' worth of screen real estate. > > Make displaying these advices configurable via the 'advice.commitMsg' > config variable.
It may not be a bad idea, but the code after the patch does look ugly with too deep indentation levels. Can some refactoring help, I wonder?
Is that advice.commitMsg? It looks more like commitEditor advice to me but it may be just me.