@matheusbsbs / matheus-bagliano / commits / adf60f1440
Fork 0

Documentation: git-log cannot use rev-list specific options

The log family and git-rev-list share the same set of options that come from revision walking machinery, but they both have options unique to them. Notably, --header, --timestamp, --stdin and --quiet apply only to rev-list. Exclude them from the git-log documentation. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jun 3, 2008 at 23:56 UTC adf60f1440aa166615711f5c2ae262db79ba6eb2
1 file changed +6
Documentation/rev-list-options.txt
+6
@@ -34,17 +34,21 @@ format, often found in E-mail messages.
34 `--date=default` shows timestamps in the original timezone
35 (either committer's or author's).
36
37 +ifdef::git-rev-list[]
38 --header::
39
40 Print the contents of the commit in raw-format; each record is
41 separated with a NUL character.
42 +endif::git-rev-list[]
43
44 --parents::
45
46 Print the parents of the commit.
47
48 +ifdef::git-rev-list[]
49 --timestamp::
50 Print the raw commit timestamp.
51 +endif::git-rev-list[]
52
53 --left-right::
54
@@ -206,6 +210,7 @@ endif::git-rev-list[]
210 Pretend as if all the refs in `$GIT_DIR/refs/` are listed on the
211 command line as '<commit>'.
212
213 +ifdef::git-rev-list[]
214 --stdin::
215
216 In addition to the '<commit>' listed on the command
@@ -218,6 +223,7 @@ endif::git-rev-list[]
223 test the exit status to see if a range of objects is fully
224 connected (or not). It is faster than redirecting stdout
225 to /dev/null as the output does not have to be formatted.
226 +endif::git-rev-list[]
227
228 --cherry-pick::
229