git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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".

Previous: Benjamin
Message 2 of 2 in “Re: [PATCH] contrib/git-jump: cat output when not a terminal”
  1. BenjaminMay 10, 2020
  2. Junio C HamanoMay 11, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.