git-log on a file, and merges
- From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
- Date
- Aug 2, 2019, 09:38 UTC
- Message-ID
- <CAA01Csp=g08N4+S1HKAjV2a12VJNSJU0UYdAU6LW1jGWLD9SLQ@mail.gmail.com>
Hi,
I have merged a branch into master.
When on master I do "git log -- some/file", it does not show commits from merged branch (which I know they changed the file). I have to add "--full-history" to see the commits. When I run "git log" (without "-- some/file") I can see the commits without using "--full-history".
This seems not logical, and contrary to user expectations. Harmful even ;)
Am I missing something?
git version 2.22.0.rc1.windows.1
Thanks
-- Piotr Krukowiecki