{"thread":{"id":"60583","subject":"git status --porcelain=v2 -z returns paths relative to root","startedAt":"2023-12-04T19:04:33Z","lastAt":"2023-12-04T19:04:33Z","messageCount":1,"participants":["Ondra Medek"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"485354","messageId":"CAJsoDaHbJvBkZR5V3rs5042ZrC1D32i_d6Lv1uS1ncWmWFkCMw@mail.gmail.com","threadId":"60583","inReplyTo":null,"subject":"git status --porcelain=v2 -z returns paths relative to root","fromName":"Ondra Medek","fromEmail":"xmedeko@gmail.com","sentAt":"2023-12-04T19:04:19Z","receivedAt":"2023-12-04T19:04:33Z","isPatch":false,"sender":{"key":"xmedeko@gmail.com","avatar":"https://gravatar.com/avatar/09ec305680e81ade2e3617fd245cda7136f6d5e859b5120feb9436e0725f6e1d?d=mp&s=160"},"body":"Hello,\n\ngit status Porcelain Format Version 1 ignores config\n\"status.relativePaths\" and returns paths relative to the working tree\nroot always.\n\nOn the other hand, git status Porcelain Format Version 2 respects\nconfig \"status.relativePaths\". But, if the \"-z\" option is provided,\ni.e. \"git status --porcelain=v2 -z\" it also ignores\n\"status.relativePaths\" and returns paths relative to the working tree\nroot. Is this a bug or undocumented behaviour? See\nhttps://git-scm.com/docs/git-status#_porcelain_format_version_2\n\nNote: I would welcome some option to force git status to return\nrelative paths to the current working directory always.\n\nBest regards\nOndra Medek\n"}]}