Re: log: option "--follow" not the default for a single file?
- From
Ralf Thielow <ralf.thielow@googlemail.com>
- Date
- Dec 1, 2011, 20:28 UTC
- Message-ID
- <CAN0XMOKrCovkmmdqu2GjsDof0wehfbf5a0EQuPo0q7GQaJ=GRQ@mail.gmail.com>
- In-Reply-To
- <20111201185230.GB2873@sigill.intra.peff.net>
> It's possible, but it is changing the meaning of "git log foo". With > the current code, even if "foo" is currently a file, it will match > "foo/bar" in a prior revision. Switching this to "--follow" will not.
Why does it actually match both things? I think that's maybe wrong. The folder was moved or delete so it doesn't exist in my working directory. Also I can't use "git log" with another file/folder doesn't exists but in another revision. What actually exists is the file and that's imho the only thing that should match.