How to fix git log output (missing lines in less)?
问题 I have two different servers each running a Ubuntu installation. On both of them, I have set env LESS=-FerX which makes sure that git log output is displayed nicely. Also, line wrapping is turned on. On one of the servers, if I run git log and there are dynamically-wrapped lines, the topmost lines disappear. For example: log --pretty='format:%C(3)[%h] %Cgreen%an%Creset%n %cd %s %Cred%d%Creset' --graph Output on Server 1: * [1234457] John Doe | Date fooooo bar baz fooooo bar baz fooooo bar baz