From: Junio C Hamano Date: Tue, 01 Apr 2014 21:37:52 GMT Subject: Re: git-status -- trying to understand all possible states Message-ID: In-Reply-To: <4AF06B83-E928-4FE2-8094-F23CE3BA1EBC@toyland.org> Michael Toy 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 bulk of the format description comes from, says, this is "Patches welcome" ;-) Some are just covering possible permutations and it is not surprising if they would not appear in practice. > D M deleted from index I doubt this is possible in practice; once you do not have the entry in the index, we do not even look at the working tree file, so it would be unusual to see M in the second column. > D D unmerged, both deleted > A U unmerged, added by us > U A unmerged, added by them $ x="100644 $(git hash-object --stdin