Skip to content

Commit

Permalink
Merge branch 'jc/doc-log-rev-list-options' into maint
Browse files Browse the repository at this point in the history
"git log --help" used to show rev-list options that are irrelevant
to the "log" command.

* jc/doc-log-rev-list-options:
  Documentation: what does "git log --indexed-objects" even mean?
  • Loading branch information
Junio C Hamano committed Feb 25, 2015
2 parents 7070c03 + 3cab02d commit 254a3eb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Documentation/rev-list-options.txt
Original file line number Diff line number Diff line change
@@ -172,11 +172,6 @@ explicitly.
Pretend as if all objects mentioned by reflogs are listed on the
command line as `<commit>`.

--indexed-objects::
Pretend as if all trees and blobs used by the index are listed
on the command line. Note that you probably want to use
`--objects`, too.

--ignore-missing::
Upon seeing an invalid object name in the input, pretend as if
the bad input was not given.
@@ -644,6 +639,7 @@ Object Traversal

These options are mostly targeted for packing of Git repositories.

ifdef::git-rev-list[]
--objects::
Print the object IDs of any object referenced by the listed
commits. `--objects foo ^bar` thus means ``send me
@@ -662,9 +658,15 @@ These options are mostly targeted for packing of Git repositories.
commits at the cost of increased time. This is used instead of
`--objects-edge` to build ``thin'' packs for shallow repositories.

--indexed-objects::
Pretend as if all trees and blobs used by the index are listed
on the command line. Note that you probably want to use
`--objects`, too.

--unpacked::
Only useful with `--objects`; print the object IDs that are not
in packs.
endif::git-rev-list[]

--no-walk[=(sorted|unsorted)]::
Only show the given commits, but do not traverse their ancestors.

0 comments on commit 254a3eb

Please sign in to comment.