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

Re: [PATCHv3 1/2] rebase: decouple --exec from --interactive

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 18, 2016, 21:44 UTC
Message-ID
<xmqqd1qrpil1.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqh9g3pj3e.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
>>         +	EDITOR="echo >invoked_editor" git rebase --exec "echo a line >>exec_output"  HEAD~2 2>actual &&
>
> Hmph.  If you add "-i" to the command line, do you see the
> 'invoked_editor' file created?
>
> I ask this because I thought we override GIT_EDITOR, which has
> higher precedence than EDITOR, in the test-lib framework.

False alarm. We do use EDITOR=: and arrange GIT_EDITOR from the outside world to be ignored by unsetting in test-lib.sh, so exporting EDITOR here should be safe and OK.

Will queue once I manage to locate 2/2 ;-).
Previous: Junio C HamanoNext: Stefan Beller
Message 6 of 10 in “[PATCHV2 0/2] Decouple rebase --exec from --interactive”
  1. Stefan BellerMar 17, 2016
  2. 1/2 rebase -x: do not die without -iStefan Beller, Mar 17, 2016
  3. Junio C HamanoMar 17, 2016
  4. 1/2 rebase: decouple --exec from --interactiveStefan Beller, Mar 18, 2016
  5. Junio C HamanoMar 18, 2016
  6. Junio C HamanoMar 18, 2016
  7. Stefan BellerMar 18, 2016
  8. Johannes SchindelinMar 18, 2016
  9. 2/2 t3404: cleanup double empty lines between testsStefan Beller, Mar 17, 2016
  10. Matthieu MoyMar 19, 2016

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.