From: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: git-log on a file, and merges
Date: Fri, 2 Aug 2019 11:38:50 +0200 [thread overview]
Message-ID: <CAA01Csp=g08N4+S1HKAjV2a12VJNSJU0UYdAU6LW1jGWLD9SLQ@mail.gmail.com> (raw)
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
next reply other threads:[~2019-08-02 9:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 9:38 Piotr Krukowiecki [this message]
2019-08-02 14:22 ` git-log on a file, and merges Derrick Stolee
2019-08-02 19:21 ` Piotr Krukowiecki
2019-08-02 19:32 ` Junio C Hamano
2019-08-03 8:31 ` Piotr Krukowiecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA01Csp=g08N4+S1HKAjV2a12VJNSJU0UYdAU6LW1jGWLD9SLQ@mail.gmail.com' \
--to=piotr.krukowiecki@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).