Re: [PATCH] contrib/git-jump: cat output when not a terminal
- From
- George Brown <321.george@gmail.com>
- Date
- May 10, 2020, 17:33 UTC
- Message-ID
- <CAFKec1Wy1iT8Z=gNDBn++XLxzGWr0UUiu3AKMU-qaR+jj2yoKQ@mail.gmail.com>
- In-Reply-To
- <xmqqwo5ju47t.fsf@gitster.c.googlers.com>
Show 6 quoted lines
> As long as such a regression for existing users use is impossible, I > think the patch is probably OK, but doing a hardcoded "cat" smells > like a very bad hack, compared to a solution on the program's side > that *wants* to read the prepared file to arrange that to happen > (e.g. via setting the GIT_EDITOR environment to "cat" within that > program).
I think this change only enhances "git jump".
> In any case, I am not a "git jump" user, so...
I looked into this as other Vim users were talking about it and wanted this behavior.
https://www.reddit.com/r/vim/comments/gf2he2/what_is_the_simplest_way_to_get_all_git_changes/fprlxtk/?context=3