Re: Git CLI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Craig,

Thanks for the report.

On Fri, Nov 22, 2019 at 08:12:48AM -0500, Craig H Maynard wrote:
> Just noticed this:
> 
> $ git pull
> Already up to date.
> $ git push
> Everything up-to-date
> 
> The two messages covey the same information but use different punctuation and hyphenation. While not terribly important, this quirky inconsistency doesn't inspire confidence.

Unfortunately, this has been caught before but remains for legacy
reasons.

According to 7560f547e6 (treewide: correct several "up-to-date" to "up
to date", 2017-08-23), it explicitly mentions in the commit message,
"Don't change plumbing (specifically send-pack.c, but transport.c (git
push) also has the same string)."

So as a result, we can't change the `git push` string to match. I don't
think it would make too much sense to change the `git pull` string to
match either since that would intentionally introduce the "up-to-date"
error that the above commit fixed.

Thanks,

Denton

> 
> My environment:
> 
> git version 2.24.0
> hub version 2.13.0
> 
> --
> Craig H Maynard
> Rhode Island, USA
> 



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux