summaryrefslogtreecommitdiffstats
path: root/gitattributes.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-04-18 06:17:56 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-04-18 06:17:56 +0000
commit3bd66e9adf9669a8ba7bf8f191a111ae0cf41e51 (patch)
treeb0bda7514cbe49768ca02dee664f52a85399c2dd /gitattributes.html
parent98e32c30fcbbbed199fa402656feffe7f4843784 (diff)
downloadgit-htmldocs-3bd66e9adf9669a8ba7bf8f191a111ae0cf41e51.tar.gz
Autogenerated HTML docs for v1.6.3-rc0-53-g1a1f0
Diffstat (limited to 'gitattributes.html')
-rw-r--r--gitattributes.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/gitattributes.html b/gitattributes.html
index 57047c75a..8b7280c00 100644
--- a/gitattributes.html
+++ b/gitattributes.html
@@ -619,7 +619,8 @@ for paths.</p></div>
</div></div>
<div class="para"><p>Then, you would define a "diff.tex.xfuncname" configuration to
specify a regular expression that matches a line that you would
-want to appear as the hunk header "TEXT", like this:</p></div>
+want to appear as the hunk header "TEXT". Add a section to your
+<tt>$GIT_DIR/config</tt> file (or <tt>$HOME/.gitconfig</tt> file) like this:</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>[diff "tex"]
@@ -693,7 +694,8 @@ split words in a line, by specifying an appropriate regular expression
in the "diff.*.wordRegex" configuration variable. For example, in TeX
a backslash followed by a sequence of letters forms a command, but
several such commands can be run together without intervening
-whitespace. To separate them, use a regular expression such as</p></div>
+whitespace. To separate them, use a regular expression in your
+<tt>$GIT_DIR/config</tt> file (or <tt>$HOME/.gitconfig</tt> file) like this:</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>[diff "tex"]
@@ -714,7 +716,8 @@ argument, the name of a file to convert, and produce the
resulting text on stdout.</p></div>
<div class="para"><p>For example, to show the diff of the exif information of a
file instead of the binary information (assuming you have the
-exif tool installed):</p></div>
+exif tool installed), add the following section to your
+<tt>$GIT_DIR/config</tt> file (or <tt>$HOME/.gitconfig</tt> file):</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>[diff "jpg"]
@@ -1020,7 +1023,7 @@ frotz unspecified</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-04-08 07:36:13 UTC
+Last updated 2009-04-18 06:17:33 UTC
</div>
</div>
</body>