Merge branch 'nd/pack-unreachable-objects-doc'
Doc update. * nd/pack-unreachable-objects-doc: pack-objects: validation and documentation about unreachable optionsmaint
commit
5a97e7be88
|
|
@ -276,6 +276,19 @@ Unexpected missing object will raise an error.
|
||||||
locally created objects [without .promisor] and objects from the
|
locally created objects [without .promisor] and objects from the
|
||||||
promisor remote [with .promisor].) This is used with partial clone.
|
promisor remote [with .promisor].) This is used with partial clone.
|
||||||
|
|
||||||
|
--keep-unreachable::
|
||||||
|
Objects unreachable from the refs in packs named with
|
||||||
|
--unpacked= option are added to the resulting pack, in
|
||||||
|
addition to the reachable objects that are not in packs marked
|
||||||
|
with *.keep files. This implies `--revs`.
|
||||||
|
|
||||||
|
--pack-loose-unreachable::
|
||||||
|
Pack unreachable loose objects (and their loose counterparts
|
||||||
|
removed). This implies `--revs`.
|
||||||
|
|
||||||
|
--unpack-unreachable::
|
||||||
|
Keep unreachable objects in loose form. This implies `--revs`.
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
--------
|
--------
|
||||||
linkgit:git-rev-list[1]
|
linkgit:git-rev-list[1]
|
||||||
|
|
|
||||||
|
|
@ -3241,6 +3241,8 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
|
||||||
fetch_if_missing = 0;
|
fetch_if_missing = 0;
|
||||||
argv_array_push(&rp, "--exclude-promisor-objects");
|
argv_array_push(&rp, "--exclude-promisor-objects");
|
||||||
}
|
}
|
||||||
|
if (unpack_unreachable || keep_unreachable || pack_loose_unreachable)
|
||||||
|
use_internal_rev_list = 1;
|
||||||
|
|
||||||
if (!reuse_object)
|
if (!reuse_object)
|
||||||
reuse_delta = 0;
|
reuse_delta = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue