为什么';即使将git status.renames设置为true,git status是否仍返回原始路径?

为什么';即使将git status.renames设置为true,git status是否仍返回原始路径?,git,Git,从下面的测试中可以看到,即使事先设置了git config status.renames true,输出消息仍然不包含ORIG\u PATH相关信息,根据文档,消息格式应该是XY ORIG\u PATH->PATH Describe rename { BeforeAll { function check { 'abc'>'README.md' git add 'README.md' git co

从下面的测试中可以看到,即使事先设置了git config status.renames true,输出消息仍然不包含
ORIG\u PATH
相关信息,根据文档,消息格式应该是
XY ORIG\u PATH->PATH

Describe rename {
    BeforeAll {
        function check {
            'abc'>'README.md'
            git add 'README.md'
            git commit -m 'README'
            Rename-Item -Path 'README.md' -NewName 'new.md'
            git status new.md -s | Should -Be '?? new.md'
            git add .
            git status new.md -s | Should -Be 'A  new.md'
        }
    }
    BeforeEach {
        ClearGitRepo
        InitGitRepo
    }
    it 'default' {
        check
    }
    it 'change configuration file' {
        git config status.renames true
        git config diff.renames true
        check
    }
}
正如你从下面的测试中看到的。。。我一点也看不出来。这是PowerShell代码吗?非PowerShell用户应该如何理解何时调用每个子句以及由什么调用?