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

Re: [PATCH v4 14/14] difftool/mergetool: refactor commands to use git-mergetool--lib

From
David Aguilar <davvid@gmail.com>
Date
Apr 8, 2009, 06:35 UTC
Message-ID
<20090408063557.GA14404@gmail.com>
In-Reply-To
<7vtz4zr80v.fsf@gitster.siamese.dyndns.org>
On  0, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Markus Heidelberg <markus.heidelberg@web.de> writes:
> 
> >> +	tools="$(echo "$tools" | sed -e 's/ +/ /g')"
> >
> > Doesn't work for me. For me 's/ \+/ /g' works.
> > ...like this: 's/[ 	]\+/ /g' (space and tab)
> 
> Pleae don't.  "s/  */ /g' should be the most portable (the point being "do
> not use one-or-more +").
v5 14/14.  good stuff.
Show 15 quoted lines
> > Looks good to me, after these last 2 issues are adjusted.
> > Maybe resend the whole series then, so that Junio can apply them easily?
> 
> Thanks.  I've replaced the series with the following applied on top of the
> 'master', but I won't be merging them to 'next' for tonight, I guess.
> 
> ...
> [PATCH v2 07/14] difftool: add a -y shortcut for --no-prompt
> [PATCH v2 09/14] difftool: move 'git-difftool' out of contrib
> [PATCH v3 10/14] difftool: add various git-difftool tests
> [PATCH v2 11/14] difftool: add support for a difftool.prompt config variable
> [PATCH v4 14/14] difftool/mergetool: refactor commands to use git-mergetool--lib
> 
> It appears that, assuming that up to 13/14 above is what you two expected
> me to pick up, we would perhaps need to only replace 14/14?
Yup
> 
> As the final sanity check, please eyeball the attached interdiff, created
> this way:
That looks right to me.
Show 19 quoted lines
> 
>  $ git checkout master^0
>  $ git am -s ./+da-fourteen-patches
>  $ A=$(git rev-parse HEAD)
>  $ git reset --hard master
>  $ git merge da/difftool ;# old series
>  $ git diff --stat -p HEAD $A ;# what's new in the new series?
> 
>  Documentation/config.txt               |    3 +-
>  Documentation/git-mergetool.txt        |    2 +-
>  Documentation/merge-config.txt         |    6 +-
>  command-list.txt                       |    1 -
>  contrib/completion/git-completion.bash |    2 +-
>  git-mergetool--lib.sh                  |  237 ++++++++++++++++++--------------
>  t/t7800-difftool.sh                    |    4 +-
>  7 files changed, 144 insertions(+), 111 deletions(-)
> 
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> ...
-- 
	David
Previous: Junio C HamanoNext: Charles Bailey
Message 4 of 6 in “difftool/mergetool: refactor commands to use git-mergetool--lib”
  1. 14/14 difftool/mergetool: refactor commands to use git-mergetool--libDavid Aguilar, Apr 7, 2009
  2. Markus HeidelbergApr 8, 2009
  3. Junio C HamanoApr 8, 2009
  4. David AguilarApr 8, 2009
  5. Charles BaileyApr 8, 2009
  6. Junio C HamanoApr 8, 2009

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.