Re: [RFC variant 2 of 2] "needs update" considered harmful
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Jul 21, 2008, 17:27 UTC
- Message-ID
- <76718490807211027t45082c7fs3509c4b9abb571d8@mail.gmail.com>
- In-Reply-To
- <7v4p6k73s2.fsf@gitster.siamese.dyndns.org>
On Sun, Jul 20, 2008 at 3:29 PM, Junio C Hamano <gitster@pobox.com> wrote:
> I personally think there is nothing wrong if Porcelain and plumbing use > different languages, by the way.
Do you expect such a clean separation? That a given command is either plumbing or porcelain but never both? If not, then a command might want to emit different output depending upon context. Perhaps an environment variable, along the lines of how one sets locale on Unix, could indicate to a git command whether it running as plumbing or not.
Just a thought.
j.