diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-12-27 03:29:58 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-12-27 03:29:58 +0000 |
commit | 554da79be4cae87edd4323dd34fce9958e02b5d3 (patch) | |
tree | 3ccad0af64872f6599d9c405b21559abebd49bdc /git-commit.html | |
parent | 0ec429328154e4d8268651eca7997f99514ece21 (diff) | |
download | git-htmldocs-554da79be4cae87edd4323dd34fce9958e02b5d3.tar.gz |
Autogenerated HTML docs for v1.5.4-rc2
Diffstat (limited to 'git-commit.html')
-rw-r--r-- | git-commit.html | 19 |
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) <commit> | -F <file> | -m <msg> | --amend]
[--allow-empty] [--no-verify] [-e] [--author <author>]
- [--] [[-i | -o ]<file>…]</div></div>
+ [--cleanup=<mode>] [--] [[-i | -o ]<file>…]</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=<mode>
+</dt>
+<dd>
+<p>
+ This option sets how the commit message is cleaned up.
+ The <em><mode></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 <junkio@cox.net></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>
|