From: Junio C Hamano Date: Wed, 14 Nov 2012 19:35:59 GMT Subject: Re: [PATCHv3 3/4] git-status: show short sequencer state Message-ID: <7v7gpoasf4.fsf@alter.siamese.dyndns.org> In-Reply-To: <50A3ED8A.9080604@cisco.com> Phil Hord writes: > # tokens and short-status > $ git status --tree --short > ## changed-files > M foo.txt Hrm, how will the existing readers of the output avoid getting confused by this overloading of "##", which has meant the current branch information? > # tokens only? > $ git status --tree --porcelain > changed-files It probably is simpler for parsers of the --porcelain format if you (1) always used first two bytes as the record type, and (2) avoided using "##" that is already used for the tree-wide status. Just a thought.