That's what I did bit it failed somehow. Actually it would be:

    #!/bin/sh
    bcompare $* &

Which means there is no wait and no return code handled. Git is giving the
list of files. Normally it calls the program for each file and waits until
it exits to do the next file. If Git was executing the diff/merge tool for
all files at once and only then waiting for the reply (as a new Git config
option of the diff/merge tool) it would mean much less work. The diff tool
question could remain as it's useful in some cases and be asked only once. T

On Sat Dec 28 2013 at 03:39:42, Dale R. Worley <wor...@alum.mit.edu> wrote:

> From: Werner Beroux <wer...@beroux.com>

> On Linux especially but generally for any diff/merge tool it would be nice
> to have the possibility to run the tool multiple times to have it show the
> diff/merge of all files at once in tabs.
>
> For example currently Git mergetool would do something equivalent to:
>
>    1. bcompare left1 right1 merge2
>    2. bcompare left2 right2 merge2
>    3. bcompare left3 right3 merge3
>
> It would be great to allow:
>
>    1. bcompare left1 right1 merge2 &
>    2. bcompare left2 right2 merge2 &
>    3. bcompare left3 right3 merge3
>
> This would show multiple tabs in Beyond Compare 3 and improve productivity
> especially on diff/merges. I tried setting the tool manually for add '&'
> after all command-line but it didn't work well. I guess it should be
> supported directly inside Git to support launching an application multiple
> times and wait for all processes to exit only at the end (i.e., wait for
> all launched processes to exit).

The typical Un*x way to handle this is to write a script to do the
work.  Certainly you can get a script to run a bunch of things and
wait for them all to finish, e.g.,

    #! /bin/sh
    prog1 &
    prog2 &
    prog3 &
    wait

And then you tell Git to use your script to do comparisons.

Is there a way to get what you want with a script?

Dale

--
You received this message because you are subscribed to a topic in the
Google Groups "Git for human beings" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/git-users/Ki1Syk7P-Uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to