Remove `-g` as it was put in place for a better experience with the search pattern that `less` was started with. Readd `-F` as it was explicitly unset when the search pattern was introduced. Do not readd `-X` as I like output that is too long (e.g. `log`, `show`) to be kept in alternate mode and out of my scrollback buffer. See: -17433d0528("git:core.pager: Remove the search pattern") > This gets really annoying as it complains in many cases that it cannot > find a match for the pattern when the pager is used for other things > than commits. -093c3a6f9c("git: Highlight current match in pager") -7e0e0f5baf("git: Enable jumps between different files in diff") > Jump between file sections and commits by using n and N. Taken from: > https://github.com/so-fancy/diff-so-fancy/blob/eef379ee43f/pro-tips.md > > Remove FX flags since they are incompatible with the pattern search: > When showing a small change that fits on less than the screen height, > the rest of the screen is filled with ~ lines instead of quitting the > pager. This behaviour is annoying and thus the flags are deactivated. > Since git adds them per default they have to be explicitly disabled.
1.7 KiB
1.7 KiB