commit: support alternate status formats
[gitweb.git] / Documentation / git-commit.txt
index 64f94cfe1293b627a17ff552c7983526425d1637..c45fbe4f9753df62299acc687f86dc672ba80860 100644 (file)
@@ -75,6 +75,20 @@ OPTIONS
        and paths that are untracked, similar to the one that is given
        in the commit log editor.
 
+--short::
+       When doing a dry-run, give the output in the short-format. See
+       linkgit:git-status[1] for details. Implies `--dry-run`.
+
+--porcelain::
+       When doing a dry-run, give the output in a porcelain-ready
+       format. See linkgit:git-status[1] for details. Implies
+       `--dry-run`.
+
+-z::
+       When showing `short` or `porcelain` status output, terminate
+       entries in the status output with NUL, instead of LF. If no
+       format is given, implies the `--porcelain` output format.
+
 -F <file>::
 --file=<file>::
        Take the commit message from the given file.  Use '-' to