Re: git-status -- trying to understand all possible states
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 1, 2014, 22:20 UTC
- Message-ID
- <20140401222002.GD6851@google.com>
- In-Reply-To
- <4AF06B83-E928-4FE2-8094-F23CE3BA1EBC@toyland.org>
Michael Toy wrote:
> https://gist.github.com/the-michael-toy/9907309
Two nits:
- Please use --porcelain (implied by -z in the absence of another format option) instead of --short. --short is meant to be human readable and details of the output might change some day.
- Depending on what you're trying to do, you might find the output from other commands such as "git ls-files -s" or "git diff-files" easier to work with.
Hope that helps, Jonathan