-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pro-tip about hg diff #379
Conversation
When line numbers are shown in less, the horizontal ruler would wrap around if line wrapping is turned on, there're 2 options: 1. turn off line wrapping in less, using `-S` 2. decrease horizontal_rule width, e.g.: `$width -= 8`, to accommodate line numbers up to 4 digits. I added `-S`, but It should be fine to use either here.
avoid line wrapping in less
We end up getting a lot of bug reports due to broken tput installations. This will wrapper tput and keep errors to a minimum
This looks good to me. Pull Requests should target the next branch. Update this to target |
I forgot a variable in the command. It should terminate with It should be:
I'm surprised to see that this PR has some additional commits merged into it. Should I update my branch and apply it to the PR, or should I create new PR with the fix? |
You must have done a Once the PR is clean I'll merge it. |
We end up getting a lot of bug reports due to broken tput installations. This will wrapper tput and keep errors to a minimum
When line numbers are shown in less, the horizontal ruler would wrap around if line wrapping is turned on, there're 2 options: 1. turn off line wrapping in less, using `-S` 2. decrease horizontal_rule width, e.g.: `$width -= 8`, to accommodate line numbers up to 4 digits. I added `-S`, but It should be fine to use either here.
We end up getting a lot of bug reports due to broken tput installations. This will wrapper tput and keep errors to a minimum
When line numbers are shown in less, the horizontal ruler would wrap around if line wrapping is turned on, there're 2 options: 1. turn off line wrapping in less, using `-S` 2. decrease horizontal_rule width, e.g.: `$width -= 8`, to accommodate line numbers up to 4 digits. I added `-S`, but It should be fine to use either here.
We end up getting a lot of bug reports due to broken tput installations. This will wrapper tput and keep errors to a minimum
…into add-hg-to-protips
Everything I did made this worse. I'm going to open a clean PR and spend some time in the shame cube. |
As requested on #186.
LMK if you want some style changes, or feel free to edit before merging.