Re: [PATCH v2] status: add an empty line when there is no hint
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 13, 2019, 05:51 UTC
- Message-ID
- <xmqqh89ydhqu.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAKO26Mtn+KDnkHWsKf8mAyTmeaCYK0gjdNad5bxJe-qxjKs=xw@mail.gmail.com>
林自均 <johnlinp@gmail.com> writes:
> Hi Junio, >> ... > Could you please give me some advice on my patch? Thank you.
I tend to agree with what Phillip said in <ae1332b8-a227-e83a-8862-8811b6a81251@gmail.com>.
If the difference between "status" and "commit" bothers you so much, i.e.
When typing "git status", there is an empty line between the
"Changes not staged for commit:" block and the list of changed
files. However, when typing "git commit" with no files added,
there are no empty lines between them.it may not be a bad idea to try making them consistent by removing the blank line that is given after the advice messages, perhaps?