git-status -- trying to understand all possible states

2014-04-01 Thread Michael Toy
I also have this question posted to stack overflow ( http://stackoverflow.com/questions/22792906/how-do-i-produce-every-possible-git-status ), but perhaps this is a better place to ask this question. In working on some code which provides an interface to existing git repositories the question

Re: git-status -- trying to understand all possible states

2014-04-01 Thread Junio C Hamano
Michael Toy mich...@toyland.org writes: Of the 24 possibilities (not counting ignored) in git-status, there are 7 that I can't figure out how to generate. As the post [*1*] that triggered e92e9cd3 (Documentation improvements for the description of short format., 2010-04-23), which is where the

Re: git-status -- trying to understand all possible states

2014-04-01 Thread Jonathan Nieder
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