{"thread":{"id":"54504","subject":"[PATCH] git-status: Document type changed status","startedAt":"2020-10-25T20:47:24Z","lastAt":"2020-10-25T20:47:24Z","messageCount":1,"participants":["toonn"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"408355","messageId":"1EC08C35-5E17-4347-BDE9-5436A3819258@toonn.io","threadId":"54504","inReplyTo":null,"subject":"[PATCH] git-status: Document type changed status","fromName":"toonn","fromEmail":"toonn@toonn.io","sentAt":"2020-10-25T20:29:04Z","receivedAt":"2020-10-25T20:47:24Z","isPatch":true,"sender":{"key":"toonn@toonn.io","avatar":null},"body":"Note: I composed this email manually because I could not get `git send-email` to work. I apologize for any additional trouble this causes and would appreciate any help to properly set it up.\n`git send-email` with `--smtp-debug=1`:\n```\nSend this email? ([y]es|[n]o|[q]uit|[a]ll): y\nNet::SMTP>>> Net::SMTP(2.31)\nNet::SMTP>>>   Net::Cmd(2.29)\nNet::SMTP>>>     Exporter(5.68)\nNet::SMTP>>>   IO::Socket::INET(1.33)\nNet::SMTP>>>     IO::Socket(1.36)\nNet::SMTP>>>       IO::Handle(1.34)\nNet::SMTP: Unexpected EOF on command channel at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-send-email line 1499.\nUnable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: server=secure.emailsrvr.com encryption=tls hello=terra.telenet.be port=465 at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-send-email line 1527.\n```\n\nBelow the `git format-patch` output:\n\n`git status -s` output a T for me after replacing a file with a symlink.\nI'd never seen this status so I checked `git help status` but \"T\" wasn't\ndocumented. `man git-diff-files` does have it listed among the possible\nstatuses.\n\nI added both the terse description in the list of statuses and two lines\nto the table explaining the difference between occuring in the X or Y\nposition. Improvements to both wording and formatting are welcome.\n\nSigned-off-by: toonn <toonn@toonn.io>\n---\n Documentation/git-status.txt | 4 ++++\n 1 file changed, 4 insertions(+)\n\ndiff --git a/Documentation/git-status.txt b/Documentation/git-status.txt\nindex 7731b45f07..2ad85abe8c 100644\n--- a/Documentation/git-status.txt\n+++ b/Documentation/git-status.txt\n@@ -196,6 +196,7 @@ codes can be interpreted as follows:\n * 'D' = deleted\n * 'R' = renamed\n * 'C' = copied\n+* 'T' = type changed\n * 'U' = updated but unmerged\n \n Ignored files are not listed, unless `--ignored` option is in effect,\n@@ -215,6 +216,9 @@ C        [ MD]   copied in index\n [ MARC]     D    deleted in work tree\n [ D]        R    renamed in work tree\n [ D]        C    copied in work tree\n+-------------------------------------------------\n+\t   T    type changed in work tree\n+T                type changed in index\n -------------------------------------------------\n D           D    unmerged, both deleted\n A           U    unmerged, added by us\n-- \n2.17.2 (Apple Git-113)"}]}