-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
--color
option does not always work
#1308
Comments
Hi @benoit-pierre! I hope you're doing well. It's been a while since we corresponded on Plover-related stuff! Unfortunately, I think this feature never worked as intended: #512. It seems like that PR caused the flag to be accepted in all positions, but, for whatever reason, the actual value is only processed in some positions. I see this note in the documentation now:
That being said, it might also be a misuse of the way that we parse global options while ignoring errors. I don't know what the best solution is in this case —
|
Hi - new git-branchless user here. I just wanted to say I was trying to figure out how to set up a pager for 'smartlog' output, while also keeping the color, and had no idea at all why it wasn't working. Every variation of (As an aside - are the rest of git-branchless users not piping smartlog output to a pager? Or they are, and just aren't having colored output? I can barely imagine living like that!) |
On 27 May 2024 at 2:57:46 PM, Mark Fulbright ***@***.***>
wrote:
(As an aside - are the rest of git-branchless users not piping smartlog
output to a pager? Or they are, and just aren't having colored output? I
can barely imagine living like that!)
Your smartlog is LONG enough to NEED a pager? That sounds like a
no-merge smell….
…--
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree
|
This wouldn't work for most cases of aliases, namely |
Description of the bug
Expected behavior
Colors in all 3 cases, no matter the position of the
--color xxx
option in the command line.Actual behavior
Inconsistent behavior.
Version of
rustc
rustc 1.75.0 (82e1608df 2023-12-21)
Automated bug report
No response
Version of
git-branchless
git-branchless-opts 0.8.0
Version of
git
git version 2.45.0
The text was updated successfully, but these errors were encountered: