Web lists-archives.com

Re: [PATCH v2] status: add an empty line when there is no hint




林自均 <johnlinp@xxxxxxxxx> 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@xxxxxxxxx>.

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?