diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-24 22:10:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-24 22:10:40 -0800 |
commit | 254a3ebfe8d6061721629d9cba9b3d5f4f591ba6 (patch) | |
tree | 8d6e399ea2d836874a6c8110cc5ae6dd788c23a9 /Documentation | |
parent | 7070c03d514a5519a3a4c9dbb47932d522dcb4bd (diff) | |
parent | 3cab02de5087447e1c48ada03a0db0fffc89e920 (diff) | |
download | git-254a3ebfe8d6061721629d9cba9b3d5f4f591ba6.tar.gz git-254a3ebfe8d6061721629d9cba9b3d5f4f591ba6.tar.xz |
Merge branch 'jc/doc-log-rev-list-options' into maint
"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?
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rev-list-options.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 2984f407a..97ef2e8e7 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -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. |