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

Re: [PATCH 1/3] Add --gui option to mergetool

From
RARémi Galan Alfonso <remi.galanalfonso@gmail.com>
Date
Mar 3, 2017, 18:06 UTC
Message-ID
<cc53dc5b-4f3a-bb7f-4f4f-876ba6adb31f@gmail.com>
In-Reply-To
<20170303115738.GA13211@arch-attack.localdomain>
Hi,
Denton Liu <liu.denton@gmail.com> writes:
 > [...]
 >
 > +test_expect_success 'gui mergetool' '
 > +	test_when_finished "git reset --hard" &&
 > +	test_when_finished "git config merge.tool mytool" &&
 > +	test_when_finished "git config --unset merge.guitool" &&
 > +	git config merge.tool badtool &&
 > +	git config merge.guitool mytool &&
You should be able to squash the lines
   `test_when_finished "git config --unset merge.guitool" &&`
and
   `git config merge.guitool mytool &&`
into
   `test_config merge.guitool mytool`

(It is however not possible with merge.tool since you set it to a specific value 'when_finished')

Thanks, Rémi

Previous: David Aguilar
Message 3 of 3 in “Add --gui option to mergetool”
  1. 1/3 Add --gui option to mergetoolDenton Liu, Mar 3, 2017
  2. David AguilarMar 3, 2017
  3. Rémi Galan AlfonsoMar 3, 2017

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.