Thread (17 messages) flat view 17 messages, 7 authors, 2016-06-15

Re: [PATCH v2] Remove --allow-empty from the git-commit synopsis

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:48:34

Possibly related (same subject, not in this thread)

On Mittwoch, 7. April 2010, Ævar Arnfjörð Bjarmason wrote:
quoted hunk ↗ jump to hunk
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -10,9 +10,8 @@ SYNOPSIS
 [verse]
 'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend]
[--dry-run] [(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author]
-	   [--allow-empty] [--no-verify] [-e] [--author=<author>]
-	   [--date=<date>] [--cleanup=<mode>] [--status | --no-status] [--]
-	   [[-i | -o ]<file>...]
+	   [--no-verify] [-e] [--author=<author>] [--date=<date>]
+	   [--cleanup=<mode>] [--status | --no-status] [--] [[-i | -o ]<file>...]
IMO the option should not be removed from the synopsis section of the 
documentation. I would agree that it is removed from the output of 'git 
commit -h', and I think this was the original intent when someone (Junio?) 
suggested to remove it.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help