-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tig --first-parent -m
does not show diffs like git log -p --first-parent -m
#861
Comments
I figured out that
I don't know why
|
Would it be possible to add a keyboard shortcut to enable this mode from within tig? |
koutcher
added a commit
to koutcher/tig
that referenced
this issue
Feb 8, 2019
jonas
pushed a commit
that referenced
this issue
Mar 22, 2019
timabell
added a commit
to timabell/dotmatrix
that referenced
this issue
May 21, 2021
timabell
added a commit
to timabell/dotmatrix
that referenced
this issue
May 21, 2021
So you can see the patch to mainline. jonas/tig#861 https://www.git-scm.com/docs/git-log#Documentation/git-log.txt--m I tried the longer option `diff-merges=separate` but it didn't work, I'm guessing it failed to pass through tig.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use
git log -p --first-parent -m
to look at a repository that makes heavy use of merges, but of course, I'd much rather be using tig. Unfortunately, tig doesn't show the diffs I expect, and I don't know if this is a bug or some unfortunate defaults that I have to work around.For background,
git log
's-m
is:Here's a repro case:
and press Enter on the commit.
For NixOS/nixpkgs@117680b,
tig --first-parent -m
shows a ~27662 line diff, whilegit log -p --first-parent -m
shows the ~45 line diff I expect.The text was updated successfully, but these errors were encountered: