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

Re: [PATCH 1/2] Feature Request: user defined suffix for temp files created by git-mergetool

From
David Aguilar <davvid@gmail.com>
Date
Oct 13, 2016, 05:13 UTC
Message-ID
<20161013051329.GA26538@gmail.com>
In-Reply-To
<1911899288.2172724.1475757782111.JavaMail.zimbra@redhat.com>
On Thu, Oct 06, 2016 at 08:43:02AM -0400, Josef Ridky wrote:
Show 10 quoted lines
> This is the first of two variant for request to add option to change
> suffix of name of temporary files generated by git mergetool. This
> change is requested for cases, when is git mergetool used for local
> comparision between two version of same package during package rebase.
> 
> Signed-off-by: Josef Ridky <jridky@redhat.com>
> ---
>  Documentation/git-mergetool.txt |  7 ++++++-
>  git-mergetool.sh                | 23 ++++++++++++++++++-----
>  2 files changed, 24 insertions(+), 6 deletions(-)

While I do like that this variant only uses a single flag, I was curious whether it would make sense for us to change our defaults to OLD/NEW? I'm thinking "no" since it's totally legit to merge "old" branches so I'll stop there.

What I really wanted to mention was...

If the patch does not update t/t7610-mergetool.sh then there is no guarantee that my clumsy fingers won't break the new feature in the future ;-) So please make sure to update the tests once we decide on the final direction. It makes sense we wouldn't want to update them just yet (in this patch) since this is still RFC, but the final one should include it.

I'm still leaning towards environment variables personally, and would have no qualms against taking a patch that teaches it to support environment variables as long as it adds a test case for the new feature.

Thanks for sticking with it, Josef!
cheers,
-- 
David
Previous: David AguilarNext: Junio C Hamano
Message 17 of 19 in “Feature Request: user defined suffix for temp files created by git-mergetool”
  1. Josef RidkyOct 3, 2016
  2. Anatoly BorodinOct 3, 2016
  3. Josef RidkyOct 4, 2016
  4. David AguilarOct 5, 2016
  5. Josef RidkyOct 5, 2016
  6. Josef RidkyOct 5, 2016
  7. Junio C HamanoOct 5, 2016
  8. Josef RidkyOct 6, 2016
  9. Johannes SixtOct 5, 2016
  10. Josef RidkyOct 6, 2016
  11. 1/2 Feature Request: user defined suffix for temp files created by git-mergetoolJosef Ridky, Oct 6, 2016
  12. 2/2 Feature Request: user defined suffix for temp files created by git-mergetoolJosef Ridky, Oct 6, 2016
  13. Junio C HamanoOct 6, 2016
  14. Josef RidkyOct 12, 2016
  15. Junio C HamanoOct 12, 2016
  16. David AguilarOct 13, 2016
  17. David AguilarOct 13, 2016
  18. Junio C HamanoOct 6, 2016
  19. Junio C HamanoOct 6, 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.