summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-12-27 03:29:58 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-12-27 03:29:58 +0000
commit554da79be4cae87edd4323dd34fce9958e02b5d3 (patch)
tree3ccad0af64872f6599d9c405b21559abebd49bdc /git-commit.html
parent0ec429328154e4d8268651eca7997f99514ece21 (diff)
downloadgit-htmldocs-554da79be4cae87edd4323dd34fce9958e02b5d3.tar.gz
Autogenerated HTML docs for v1.5.4-rc2
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/git-commit.html b/git-commit.html
index 927a775f1..d0a6bbea5 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -276,7 +276,7 @@ git-commit(1) Manual Page
<div class="content"><em>git-commit</em> [-a | --interactive] [-s] [-v] [-u]
[(-c | -C) &lt;commit&gt; | -F &lt;file&gt; | -m &lt;msg&gt; | --amend]
[--allow-empty] [--no-verify] [-e] [--author &lt;author&gt;]
- [--] [[-i | -o ]&lt;file&gt;&#8230;]</div></div>
+ [--cleanup=&lt;mode&gt;] [--] [[-i | -o ]&lt;file&gt;&#8230;]</div></div>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -420,6 +420,21 @@ that, you can recover from it with <a href="git-reset.html">git-reset(1)</a>.</p
</p>
</dd>
<dt>
+--cleanup=&lt;mode&gt;
+</dt>
+<dd>
+<p>
+ This option sets how the commit message is cleaned up.
+ The <em>&lt;mode&gt;</em> can be one of <em>verbatim</em>, <em>whitespace</em>, <em>strip</em>,
+ and <em>default</em>. The <em>default</em> mode will strip leading and
+ trailing empty lines and #commentary from the commit message
+ only if the message is to be edited. Otherwise only whitespace
+ removed. The <em>verbatim</em> mode does not change message at all,
+ <em>whitespace</em> removes just leading/trailing whitespace lines
+ and <em>strip</em> removes both whitespace and commentary.
+</p>
+</dd>
+<dt>
-e|--edit
</dt>
<dd>
@@ -715,7 +730,7 @@ Junio C Hamano &lt;junkio@cox.net&gt;</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 09-Dec-2007 10:19:07 UTC
+Last updated 27-Dec-2007 03:28:36 UTC
</div>
</div>
</body>