Re: [PATCH] contrib/git-jump: cat output when not a terminal
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 11, 2020, 14:33 UTC
- Message-ID
- <xmqq1rnqtubn.fsf@gitster.c.googlers.com>
- In-Reply-To
- <4CFBC77A-6518-4BEE-A210-6A7C818B9738@gmail.com>
Benjamin <ben.knoble@gmail.com> writes:
Show 9 quoted lines
> Junio writes: > >> I somehow doubt that users of vim types "!git jump diff" (or >> whichever submode they want) from within vim's command prompt; >> wouldn't they typically wrap the invocation in a vim macro? > > Vim-user here. I run "git jump (options)" from a shell quite a bit, but when I'm > in vim I tend to use ":Ggrep" and similar commands from the fugitive plugin [1]. > I don't *think* I'm alone in this.
I can believe there are tons of users of the plugin. My point still stands---such a plugin can export GIT_EDITOR=cat when running "git jump" and there is no need to change "git jump".