Documentation/git-status: clarify status table for porcelain mode
commite4e5da2796846d8358273c7aa9ad3158593c2e62
authorStefan Beller <sbeller@google.com>
Thu, 15 Feb 2018 00:18:12 +0000 (14 16:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 19:07:52 +0000 (15 11:07 -0800)
treeec54b75ba97393d1ad8d54800c62b8e6b5c83e90
parent27dea4683b608c5c0487dee74cbda13b62803b73
Documentation/git-status: clarify status table for porcelain mode

It is possible to have the output ' A' from 'git status --porcelain'
by adding a file using the '--intend-to-add' flag.  Make this clear by
adding the pattern in the table of the documentation.

However the mode 'DM' (deleted in the index, modified in the working tree)
is not possible in the non-merge case in which the file only shows
as 'D ' (and adding it back to the worktree would show an additional line
of an '??' untracked file). It is also not possible in the merge case as
then the mode involves a 'U' on one side of the merge.
Remove that pattern.

Reported-by: Ross Light <light@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-status.txt