If I got into the main view of tig, I get a good schedule of commits and merges. I would rather just see how the merge is fixed in the trunk, but unlike the usual tig commits, where tig shows the full diff with the contents of the file, when merging it just shows a list of modified files in the diff view. How to make tig display the contents of a diff file at compile time?
commit fb56223ec50cf659a308b3c9979c912881147689
Refs: [master], {origin / master}, {origin / HEAD}, juju-1.21-alpha1-229-gfb56223
Merger: 7e7c95d a017b5a
Posted by: Juju bot
AuthorDate: Mon Sep 22 01:22:03 2014 +0100
Commit: Juju bot
CommitDate: Mon Sep 22 01:22:03 2014 +0100
Merge pull request
apiserver / upgradeing_root.go | 20 +++++++++++ ---------
cmd / juju / ssh.go | 15 +++++++++++ ----
cmd / juju / ssh_test.go | 24 +++++++++++++++++++++++++
3 files changed, 46 inserts (+), 13 deletions (-)
the transition to individual files (j / k) in the view says to press the 'Enter' button to view the diff file, but pressing enter receives the error message βCould not find diff fileβ. Ideally, I will just consider combo diff to fix the merge.
[update] . I traced through tig using sysdig, and it looks like it is doing the following, which when compiling the merge will not show the actual diff. git show --encoding = UTF-8 --pretty = fuller --root --patch-with-stat --show-notes --no-color fb56223ec50cf659a308b3c9979c912881147689 -
I assume that what I am looking for at the merge means it is parsing the parents and then doing something like the following git diff 7e7c95d a017b5a
[update] , so the difference is actually wrong here, since this diff will be between the two parents and will contain more changes than the merge itself, diff differs better content rendering,
git diff fb56223 ^ fb56223