On 2022/11/19 10:58 PM, Uwe Brauer wrote:
Hi
When running
git log --graph --all --decorate --color=always --pretty=short| git name-rev --stdin |
less
I see
* ESC[33mcommit 9dc21b3902a819796d1ba3bc7654733ab00e6e75 (feature)ESC[mESC[33m
(ESC[mESC[36mHEADESC[mESC[33m -> ESC[mESC[32mfeature
ESC[mESC[33m)ESC[m
However
git log --graph --all --decorate --color=always --pretty=short| git name-rev --stdin |
less -R
Works as expected.
Any idea what is wrong in my setting (this happens in tcsh or bash
shell)
Regards
Uwe Brauer
Hi Uwe,
this seems to be something related to "less" and escape sequences for the
colors. I have exactly the same behavior here,
both in Konsole and XTerm.
Cheers
Michele