Final Burn Neo > FBN Development

git diff pagination annoyance (git r dun!)

(1/1)

dink:
Here's a tip that might be helpful to those that work under mingw shell.  doing a "git diff ." to see what was changed has a really nice more-like pagination, but when it gets to the end of the listing, it will "get stuck" at [END] prompt, requiring you to press 'q' to get back to the commandline.
To get rid of this annoying end prompt, edit \mingw\msys\1.0\etc\profile and add this line to the end of the file:

--- Code: ---export LESS="$LESS -FRXKE"

--- End code ---

that's all :)

best regards,
- dink

Navigation

[0] Message Index

Go to full version