-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Wall-of-text issue with refreshing git hooks #1446
Comments
Can you try with |
@tpope Cheers for the quick response. That works way better for me. 👍 Is there a location for all the options for fugitive? |
That option is primarily intended for debugging. I'd rather users didn't have to be aware of it at all. The real fix is for Husky to disable those escape sequences when |
@tpope True oh-so true. I think the culprit here is Setting Closing this issue as it is not an issue with |
As a workaround, you can set it to run
Disabling the advanced terminal behavior when I also sent a similar patch to a Ruby library: rails/thor#710. I'm now rethinking my decision to check for
Technically true, but I'm afraid this will be a popular problem with Git hooks. |
Cheers for the input @tpope. I'm creating an issue at |
To not have weird charactors in vim using fugitive i needed to find the options to disable them. - For lint-staged i had to set the following env vars * FORCE_COLOR=0 + a flag from https://github.com/chalk/supports-color#readme * TERM=dumb + this has an effect since https://github.com/okonet/lint-staged/pull/782/files + this should be set my vim-fugitive but for some reason i have to set it up manually tpope/vim-fugitive#1446 - For commitlint the flag `--color=false` was sufficient
Hey 👋,
I'm using https://github.com/typicode/husky for some of my projects and when triggering a hook
fugitive
outputs a lot of text. I have to press<Space>
to go down a full screen more than a couple of times. The text is also blank until I scroll up and down a bit. The following is an example of the output generated:The above text is repeated atleast a 50-100 times (except the first one of course).
Is is possible for fugitive to handle these cases where the git hook is refreshing the output? Or is it possible to fugitive to skip the output?
The text was updated successfully, but these errors were encountered: