Output from "rev-parse --resolve-git-dir" changed: two lines (prints original argument)
- From
- Daniel Hahler <genml+git-2014@thequod.de>
- Date
- Feb 17, 2014, 08:13 UTC
- Message-ID
- <5301C4B4.5070503@thequod.de>
I have noticed that the output from "git rev-parse --resolve-git-dir" changed.
While it used to only print the resolved git dir, it now prints the argument passed to it itself:
% git rev-parse --resolve-git-dir .git
/path/to/root/.git/modules/vim/bundle/reporoot
.gitThis is with Git version 1.8.5.3, but also happens with master.
You can use "--flags" to avoid this ("git rev-parse --flags --resolve-git-dir .git"), but it is unclear from the documentation if that's the intended beahviour.It seems like the "--resolve-git-dir" subcommand needs to consume the argument passed to it.
Regards, Daniel.
-- http://daniel.hahler.de/