aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-01-23 12:21:46 +0800
committerGuangxiong Lin <[email protected]>2022-01-23 12:21:46 +0800
commit8b4f1525d95066464316156ec5a3c1b2c1c00e0c (patch)
tree155e1d793aa531e0561357e68a562a7a55d14f1b
parent344f809ff1bdc8d8cc00de4e4651aff8722a147b (diff)
downloaddotfiles-8b4f1525d95066464316156ec5a3c1b2c1c00e0c.tar.gz
dotfiles-8b4f1525d95066464316156ec5a3c1b2c1c00e0c.tar.bz2
dotfiles-8b4f1525d95066464316156ec5a3c1b2c1c00e0c.zip
Add --diff-merges=first-parent in .tigrc
The diff of merge commit in tig only show filenames. Add this options to make diff view show diff related to first parent.
-rw-r--r--.tigrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.tigrc b/.tigrc
index c443219..16d0709 100644
--- a/.tigrc
+++ b/.tigrc
@@ -1,3 +1,5 @@
+set diff-options = --diff-merges=first-parent
+
# Navigation
bind generic g move-first-line
bind generic G move-last-line