Re: Suggestion on git-push --porcelain
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 10, 2010, 02:57 UTC
- Message-ID
- <7vmxzhn6fp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <be6fef0d1002091834i1c4b202cp5afacc326bd1a4d6@mail.gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 8 quoted lines
> $ git push --porcelain
> PORCELAIN To git://foo.com/git/myrepo.git
> PORCELAIN uptodate refs/heads/baz:refs/heads/baz 1234ab ba4321
> PORCELAIN nonff refs/heads/bar:refs/heads/bar 2345cd 3456de
>
> This is an "positive" approach, in the sense that we don't remove
> anything from the current output; we just add more printf("PORCELAIN")
> lines to wherever is appropriate.Sorry, but I don't see what that would solve. For example, we used not to give the destination to the standard output stream, but that line carries a necessary information and Larry's series corrects that.
In your "prefix with PORCELAIN" scheme, such a change will start adding a new line "PORCELAIN To ..." that older implementations may not be prepared to see.
Other than making the output more noisy, I do not see an improvement here.