<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-mergetool.sh, branch v1.7.3.5</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2010-09-03T16:43:44Z</updated>
<entry>
<title>Merge branch 'cb/maint-mergetool-no-tty'</title>
<updated>2010-09-03T16:43:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-09-03T16:43:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1998f4c0966871d49ebf7f720dc58eb9f80771e9'/>
<id>urn:sha1:1998f4c0966871d49ebf7f720dc58eb9f80771e9</id>
<content type='text'>
* cb/maint-mergetool-no-tty:
  mergetool: Remove explicit references to /dev/tty

Conflicts:
	git-mergetool.sh
</content>
</entry>
<entry>
<title>mergetool: Remove explicit references to /dev/tty</title>
<updated>2010-08-20T21:09:04Z</updated>
<author>
<name>Charles Bailey</name>
<email>charles@hashpling.org</email>
</author>
<published>2010-08-20T15:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=af3147147f39274bd0d47faca196f84c4e9ec68d'/>
<id>urn:sha1:af3147147f39274bd0d47faca196f84c4e9ec68d</id>
<content type='text'>
mergetool used /dev/tty to switch back to receiving input from the user
via inside a block with a redirected stdin.

This harms testability, so change mergetool to save its original stdin
to an alternative fd in this block and restore it for those sub-commands
that need the original stdin.

Includes additional compatibility fix from Jonathan Nieder.

Tested-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Charles Bailey &lt;charles@hashpling.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: Skip autoresolved paths</title>
<updated>2010-08-17T20:58:13Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2010-08-17T09:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bb0a484e985ef8d9bbbbeb172b1fcf4982634bef'/>
<id>urn:sha1:bb0a484e985ef8d9bbbbeb172b1fcf4982634bef</id>
<content type='text'>
When mergetool is run without path limiters it loops
over each entry in 'git ls-files -u'.  This includes
autoresolved paths.

Teach mergetool to only merge files listed in 'rerere status'
when rerere is enabled.

There are some subtle but harmless changes in behavior.
We now call cd_to_toplevel when no paths are given.
We do this because 'rerere status' paths are always relative
to the root.  This is beneficial for the non-rerere use as
well in that mergetool now runs against all unmerged files
regardless of the current directory.

This also slightly tweaks the output when run without paths
to be more readable.

The old output:

Merging the files: foo
bar
baz

The new output:

Merging:
foo
bar
baz

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool--lib: simplify API usage by removing more global variables</title>
<updated>2009-04-12T22:19:12Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-04-12T03:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=47d65924a69576bd9f3254f7055de6b37a359596'/>
<id>urn:sha1:47d65924a69576bd9f3254f7055de6b37a359596</id>
<content type='text'>
The mergetool--lib scriplet was tricky to use because it relied upon
the existance of several global shell variables.  This removes more
global variables so that things are simpler for callers.

A side effect is that some variables are recomputed each time
run_merge_tool() is called, but the overhead for recomputing
them is justified by the simpler implementation.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix misspelled mergetool.keepBackup</title>
<updated>2009-04-11T19:20:17Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2009-04-10T19:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=70af4e9bef988a98061237c78cbd0a71d8de48bb'/>
<id>urn:sha1:70af4e9bef988a98061237c78cbd0a71d8de48bb</id>
<content type='text'>
In several places mergetool.keepBackup was misspelled as merge.keepBackup.

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>difftool/mergetool: refactor commands to use git-mergetool--lib</title>
<updated>2009-04-08T07:25:24Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-04-08T07:17:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=21d0ba7ebb0c6b6c6ad844f8a40fff8dd4c0b105'/>
<id>urn:sha1:21d0ba7ebb0c6b6c6ad844f8a40fff8dd4c0b105</id>
<content type='text'>
This consolidates the common functionality from git-mergetool and
git-difftool--helper into a single git-mergetool--lib scriptlet.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: use $( ... ) instead of `backticks`</title>
<updated>2009-04-08T05:19:56Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-04-06T08:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9a62d72dfa833f98dd0730b3d5136f56d637a5c3'/>
<id>urn:sha1:9a62d72dfa833f98dd0730b3d5136f56d637a5c3</id>
<content type='text'>
This makes mergetool consistent with Documentation/CodingGuidelines.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>difftool/mergetool: add diffuse as merge and diff tool</title>
<updated>2009-04-08T05:19:56Z</updated>
<author>
<name>Sebastian Pipping</name>
<email>sebastian@pipping.org</email>
</author>
<published>2009-04-06T08:31:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1c0f3d224eff2ff8ca8442811edb5a6830adba1a'/>
<id>urn:sha1:1c0f3d224eff2ff8ca8442811edb5a6830adba1a</id>
<content type='text'>
This adds diffuse as a built-in merge tool.

Signed-off-by: Sebastian Pipping &lt;sebastian@pipping.org&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-mergetool: add new merge tool TortoiseMerge</title>
<updated>2009-04-08T05:19:55Z</updated>
<author>
<name>Markus Heidelberg</name>
<email>markus.heidelberg@web.de</email>
</author>
<published>2009-04-06T08:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b98c212a9fd97300a8cf39015b8d693f319fd71c'/>
<id>urn:sha1:b98c212a9fd97300a8cf39015b8d693f319fd71c</id>
<content type='text'>
TortoiseMerge comes with TortoiseSVN or TortoiseGit for Windows. It can
only be used as a merge tool with an existing base file. It cannot be
used without a base nor as a diff tool.

The documentation only mentions the slash '/' as command line option
prefix, which refused to work, but the parser also accepts the dash '-'

See http://code.google.com/p/msysgit/issues/detail?id=226

Signed-off-by: Markus Heidelberg &lt;markus.heidelberg@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-mergetool/difftool: make (g)vimdiff workable under Windows</title>
<updated>2009-04-08T05:19:55Z</updated>
<author>
<name>Markus Heidelberg</name>
<email>markus.heidelberg@web.de</email>
</author>
<published>2009-04-06T08:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bad42732008cb0c1e77046d716e4446b1545d4d0'/>
<id>urn:sha1:bad42732008cb0c1e77046d716e4446b1545d4d0</id>
<content type='text'>
Under Windows vimdiff and gvimdiff are not available as symbolic links,
but as batch files vimdiff.bat and gvimdiff.bat. These files weren't
found by 'type vimdiff' which led to the following error:

    The merge tool vimdiff is not available as 'vimdiff'

Even if they were found, it wouldn't work to invoke these batch files
from git-mergetool.

To solve this, use vim and gvim (vim.exe and gvim.exe) and pass the -d
command line switch over to them.

Signed-off-by: Markus Heidelberg &lt;markus.heidelberg@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
