summaryrefslogtreecommitdiffstats
path: root/git-mergetool.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
commitc14e6ad9a230ad90c84b7f620d87fbe49a2d0342 (patch)
tree120346dc383e3d1c4219fe8c533eb22cb6af2b55 /git-mergetool.html
parent2a4bcbc355496c8d83b1b9f8892c4cbe8f584158 (diff)
downloadgit-htmldocs-c14e6ad9a230ad90c84b7f620d87fbe49a2d0342.tar.gz
Autogenerated HTML docs for v2.2.0-rc0
Diffstat (limited to 'git-mergetool.html')
-rw-r--r--git-mergetool.html76
1 files changed, 37 insertions, 39 deletions
diff --git a/git-mergetool.html b/git-mergetool.html
index b88de16d9..4eba3be8d 100644
--- a/git-mergetool.html
+++ b/git-mergetool.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.6" />
+<meta name="generator" content="AsciiDoc 8.6.9" />
<title>git-mergetool(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -87,10 +87,16 @@ ul, ol, li > p {
ul > li { color: #aaa; }
ul > li > * { color: black; }
-pre {
+.monospaced, code, pre {
+ font-family: "Courier New", Courier, monospace;
+ font-size: inherit;
+ color: navy;
padding: 0;
margin: 0;
}
+pre {
+ white-space: pre-wrap;
+}
#author {
color: #527bbd;
@@ -219,7 +225,7 @@ div.exampleblock > div.content {
}
div.imageblock div.content { padding-left: 0; }
-span.image img { border-style: none; }
+span.image img { border-style: none; vertical-align: text-bottom; }
a.image:visited { color: white; }
dl {
@@ -349,7 +355,7 @@ div.colist td img {
margin-bottom: 0.1em;
}
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
margin-top: 0;
margin-bottom: 0;
}
@@ -407,18 +413,14 @@ span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }
+div.unbreakable { page-break-inside: avoid; }
+
/*
* xhtml11 specific
*
* */
-tt {
- font-family: monospace;
- font-size: inherit;
- color: navy;
-}
-
div.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -452,12 +454,6 @@ div.tableblock > table[frame="vsides"] {
*
* */
-.monospaced {
- font-family: monospace;
- font-size: inherit;
- color: navy;
-}
-
table.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -537,6 +533,8 @@ body.manpage div.sectionbody {
@media print {
body.manpage div#toc { display: none; }
}
+
+
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -581,7 +579,7 @@ toc: function (toclevels) {
function tocEntries(el, toclevels) {
var result = new Array;
- var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
+ var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
// Function that scans the DOM tree for header elements (the DOM2
// nodeIterator API would be a better technique but not supported by all
// browsers).
@@ -610,7 +608,7 @@ toc: function (toclevels) {
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
- if (entry.nodeName == 'div'
+ if (entry.nodeName.toLowerCase() == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
@@ -656,7 +654,7 @@ footnotes: function () {
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
- if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
+ if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
@@ -758,7 +756,7 @@ git-mergetool(1) Manual Page
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Use <tt>git mergetool</tt> to run one of several merge utilities to resolve
+<div class="paragraph"><p>Use <code>git mergetool</code> to run one of several merge utilities to resolve
merge conflicts. It is typically run after <em>git merge</em>.</p></div>
<div class="paragraph"><p>If one or more &lt;file&gt; parameters are given, the merge tool program will
be run to resolve differences on each file (skipping those without
@@ -781,35 +779,35 @@ the merge tool program on every file with merge conflicts.</p></div>
<p>
Use the merge resolution program specified by &lt;tool&gt;.
Valid values include emerge, gvimdiff, kdiff3,
- meld, vimdiff, and tortoisemerge. Run <tt>git mergetool --tool-help</tt>
+ meld, vimdiff, and tortoisemerge. Run <code>git mergetool --tool-help</code>
for the list of valid &lt;tool&gt; settings.
</p>
<div class="paragraph"><p>If a merge resolution program is not specified, <em>git mergetool</em>
-will use the configuration variable <tt>merge.tool</tt>. If the
-configuration variable <tt>merge.tool</tt> is not set, <em>git mergetool</em>
+will use the configuration variable <code>merge.tool</code>. If the
+configuration variable <code>merge.tool</code> is not set, <em>git mergetool</em>
will pick a suitable default.</p></div>
<div class="paragraph"><p>You can explicitly provide a full path to the tool by setting the
-configuration variable <tt>mergetool.&lt;tool&gt;.path</tt>. For example, you
+configuration variable <code>mergetool.&lt;tool&gt;.path</code>. For example, you
can configure the absolute path to kdiff3 by setting
-<tt>mergetool.kdiff3.path</tt>. Otherwise, <em>git mergetool</em> assumes the
+<code>mergetool.kdiff3.path</code>. Otherwise, <em>git mergetool</em> assumes the
tool is available in PATH.</p></div>
<div class="paragraph"><p>Instead of running one of the known merge tool programs,
<em>git mergetool</em> can be customized to run an alternative program
by specifying the command line to invoke in a configuration
-variable <tt>mergetool.&lt;tool&gt;.cmd</tt>.</p></div>
+variable <code>mergetool.&lt;tool&gt;.cmd</code>.</p></div>
<div class="paragraph"><p>When <em>git mergetool</em> is invoked with this tool (either through the
-<tt>-t</tt> or <tt>--tool</tt> option or the <tt>merge.tool</tt> configuration
-variable) the configured command line will be invoked with <tt>$BASE</tt>
+<code>-t</code> or <code>--tool</code> option or the <code>merge.tool</code> configuration
+variable) the configured command line will be invoked with <code>$BASE</code>
set to the name of a temporary file containing the common base for
-the merge, if available; <tt>$LOCAL</tt> set to the name of a temporary
+the merge, if available; <code>$LOCAL</code> set to the name of a temporary
file containing the contents of the file on the current branch;
-<tt>$REMOTE</tt> set to the name of a temporary file containing the
-contents of the file to be merged, and <tt>$MERGED</tt> set to the name
+<code>$REMOTE</code> set to the name of a temporary file containing the
+contents of the file to be merged, and <code>$MERGED</code> set to the name
of the file to which the merge tool should write the result of the
merge resolution.</p></div>
<div class="paragraph"><p>If the custom merge tool correctly indicates the success of a
merge resolution with its exit code, then the configuration
-variable <tt>mergetool.&lt;tool&gt;.trustExitCode</tt> can be set to <tt>true</tt>.
+variable <code>mergetool.&lt;tool&gt;.trustExitCode</code> can be set to <code>true</code>.
Otherwise, <em>git mergetool</em> will prompt the user to indicate the
success of the resolution after the custom tool has exited.</p></div>
</dd>
@@ -818,7 +816,7 @@ success of the resolution after the custom tool has exited.</p></div>
</dt>
<dd>
<p>
- Print a list of merge tools that may be used with <tt>--tool</tt>.
+ Print a list of merge tools that may be used with <code>--tool</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -832,8 +830,8 @@ success of the resolution after the custom tool has exited.</p></div>
Don&#8217;t prompt before each invocation of the merge resolution
program.
This is the default if the merge resolution program is
- explicitly specified with the <tt>--tool</tt> option or with the
- <tt>merge.tool</tt> configuration variable.
+ explicitly specified with the <code>--tool</code> option or with the
+ <code>merge.tool</code> configuration variable.
</p>
</dd>
<dt class="hdlist1">
@@ -851,11 +849,11 @@ success of the resolution after the custom tool has exited.</p></div>
<div class="sect1">
<h2 id="_temporary_files">TEMPORARY FILES</h2>
<div class="sectionbody">
-<div class="paragraph"><p><tt>git mergetool</tt> creates <tt>*.orig</tt> backup files while resolving merges.
+<div class="paragraph"><p><code>git mergetool</code> creates <code>*.orig</code> backup files while resolving merges.
These are safe to remove once a file has been merged and its
-<tt>git mergetool</tt> session has completed.</p></div>
-<div class="paragraph"><p>Setting the <tt>mergetool.keepBackup</tt> configuration variable to <tt>false</tt>
-causes <tt>git mergetool</tt> to automatically remove the backup as files
+<code>git mergetool</code> session has completed.</p></div>
+<div class="paragraph"><p>Setting the <code>mergetool.keepBackup</code> configuration variable to <code>false</code>
+causes <code>git mergetool</code> to automatically remove the backup as files
are successfully merged.</p></div>
</div>
</div>