Re: [PATCHv3 3/4] git-status: show short sequencer state
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 14, 2012, 19:35 UTC
- Message-ID
- <7v7gpoasf4.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <50A3ED8A.9080604@cisco.com>
Phil Hord <hordp@cisco.com> 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.