diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-04 16:19:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-04 16:19:06 -0700 |
commit | 3acb2e7b34954a141e76b0004a474d276bc86657 (patch) | |
tree | 9f58d4850d4d4ff91d24034c346a297fb8bc0f64 /rev-list-options.txt | |
parent | 2c6fc7e6eff6094e52759550c7b28d37f3fb1ffc (diff) | |
download | git-htmldocs-3acb2e7b34954a141e76b0004a474d276bc86657.tar.gz |
Autogenerated HTML docs for v2.40.0-214-gae73b
Diffstat (limited to 'rev-list-options.txt')
-rw-r--r-- | rev-list-options.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rev-list-options.txt b/rev-list-options.txt index 90c73d670..3000888a9 100644 --- a/rev-list-options.txt +++ b/rev-list-options.txt @@ -890,7 +890,7 @@ ifdef::git-rev-list[] Print the object IDs of any object referenced by the listed commits. `--objects foo ^bar` thus means ``send me all object IDs which I need to download if I have the commit - object _bar_ but not _foo_''. + object _bar_ but not _foo_''. See also `--object-names` below. --in-commit-order:: Print tree and blob ids in order of the commits. The tree @@ -920,7 +920,12 @@ ifdef::git-rev-list[] --object-names:: Only useful with `--objects`; print the names of the object IDs - that are found. This is the default behavior. + that are found. This is the default behavior. Note that the + "name" of each object is ambiguous, and mostly intended as a + hint for packing objects. In particular: no distinction is made between + the names of tags, trees, and blobs; path names may be modified + to remove newlines; and if an object would appear multiple times + with different names, only one name is shown. --no-object-names:: Only useful with `--objects`; does not print the names of the object |