X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Frev-list-options.txt;h=44a2ef1de15bdce5d67a151a1cb6150031e57c7e;hb=cbcf0a6981687b31635d806f45e77188c54b7cfc;hp=e2237ae4a0a80b0e5aa22cbb13aa5a01ce4fb891;hpb=2851e8eba52e98d3112417952a24d82ae9d8c0eb;p=git.git diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index e2237ae4a..44a2ef1de 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -13,7 +13,7 @@ include::pretty-options.txt[] Synonym for `--date=relative`. ---date={relative,local,default,iso,rfc,short,raw}:: +--date=(relative|local|default|iso|rfc|short|raw):: Only takes effect for dates shown in human-readable format, such as when using "--pretty". `log.date` config variable sets a default @@ -45,13 +45,13 @@ endif::git-rev-list[] --parents:: - Print the parents of the commit. Also enables parent - rewriting, see 'History Simplification' below. + Print also the parents of the commit (in the form "commit parent..."). + Also enables parent rewriting, see 'History Simplification' below. --children:: - Print the children of the commit. Also enables parent - rewriting, see 'History Simplification' below. + Print also the children of the commit (in the form "commit child..."). + Also enables parent rewriting, see 'History Simplification' below. ifdef::git-rev-list[] --timestamp:: @@ -95,6 +95,8 @@ you would get an output like this: to be printed in between commits, in order for the graph history to be drawn properly. + +This enables parent rewriting, see 'History Simplification' below. ++ This implies the '--topo-order' option by default, but the '--date-order' option may also be specified. @@ -146,6 +148,9 @@ options may be given. See linkgit:git-diff-files[1] for more options. -t:: Show the tree objects in the diff output. This implies '-r'. + +-s:: + Suppress diff output. endif::git-rev-list[] Commit Limiting @@ -246,29 +251,29 @@ endif::git-rev-list[] Pretend as if all the refs in `refs/` are listed on the command line as ''. ---branches[=pattern]:: +--branches[=]:: Pretend as if all the refs in `refs/heads` are listed - on the command line as ''. If `pattern` is given, limit + on the command line as ''. If '' is given, limit branches to ones matching given shell glob. If pattern lacks '?', '*', or '[', '/*' at the end is implied. ---tags[=pattern]:: +--tags[=]:: Pretend as if all the refs in `refs/tags` are listed - on the command line as ''. If `pattern` is given, limit + on the command line as ''. If '' is given, limit tags to ones matching given shell glob. If pattern lacks '?', '*', or '[', '/*' at the end is implied. ---remotes[=pattern]:: +--remotes[=]:: Pretend as if all the refs in `refs/remotes` are listed - on the command line as ''. If `pattern`is given, limit - remote tracking branches to ones matching given shell glob. + on the command line as ''. If '' is given, limit + remote-tracking branches to ones matching given shell glob. If pattern lacks '?', '*', or '[', '/*' at the end is implied. ---glob=glob-pattern:: - Pretend as if all the refs matching shell glob `glob-pattern` +--glob=:: + Pretend as if all the refs matching shell glob '' are listed on the command line as ''. Leading 'refs/', is automatically prepended if missing. If pattern lacks '?', '*', or '[', '/*' at the end is implied.