Files
Mike Frysinger 622a5bf9c2 init: change --manifest-depth default to 1
Most users do not care about the manifest history in .repo/manifests/.
Let's change the default to 1 so things work smoothly for most people
most of the time.  For the rare folks who want the full history, they
can add --manifest-depth=0 to their `repo init`.

This has no effect on existing checkouts.

Spot checking Android & CrOS manifests shows significant speedups.
Full history can take O(10's seconds) to O(minutes) while depth of 1
takes constant time of O(~5 seconds).

Bug: 468033850
Change-Id: I4b8ed62a8a636babcc5226552badb69600d0c353
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/535481
Tested-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
2026-01-05 06:36:08 -08:00
..
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2025-04-22 11:37:45 -07:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2025-08-21 11:11:38 -07:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2022-07-11 16:42:23 +00:00
2025-08-21 11:11:38 -07:00
2022-07-11 16:42:23 +00:00
2025-11-21 10:48:42 -08:00
2025-11-21 10:48:42 -08:00