git-repo/subcmds
LaMont Jones 891e8f72ce sync: save any cruft after calling git gc.
This is ENABLED BY DEFAULT due to data corruption potential.  To disable
it, set REPO_BACKUP_OBJECTS=0 in the environment.

While the workspace will grow over time, this provides a recovery path
for an issue where objects are erroneously deleted from the workspace,
resulting in lost work.  Once the root cause is determined, we will be
able to stop saving backups again.

Backups are kept in .git/objects/.repo/pack.bak

Bug: https://crbug.com/gerrit/16247
Change-Id: Ib8b5c9b4bf0dfa9e29606e0f5c881d65996b2a40
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345114
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Xin Li <delphij@google.com>
2022-09-09 19:04:30 +00:00
..
__init__.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
abandon.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
branches.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
checkout.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
cherry_pick.py cherry-pick: tighten up output 2022-08-22 19:38:32 +00:00
diff.py status, diff: display correct path for multi-manifest 2022-07-14 16:00:18 +00:00
diffmanifests.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
download.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
forall.py forall: fix multi-manifest variables. 2022-04-14 14:31:47 +00:00
gitc_delete.py commands: document the "common" class attribute 2021-06-15 06:07:37 +00:00
gitc_init.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
grep.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
help.py help: fix grammar in help text 2021-11-12 17:30:32 +00:00
info.py manifest: add submanifest.default_groups attribute 2022-04-29 18:42:23 +00:00
init.py init: hide identify spam when reinitializing 2022-08-22 21:01:35 +00:00
list.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
manifest.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
overview.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
prune.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
rebase.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
selfupdate.py commands: document the "common" class attribute 2021-06-15 06:07:37 +00:00
smartsync.py commands: document the "common" class attribute 2021-06-15 06:07:37 +00:00
stage.py stage: add missing flush before project prompt 2022-08-22 20:48:29 +00:00
start.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
status.py status, diff: display correct path for multi-manifest 2022-07-14 16:00:18 +00:00
sync.py sync: save any cruft after calling git gc. 2022-09-09 19:04:30 +00:00
upload.py upload: respect --yes with large upload confirmation 2022-08-22 20:48:27 +00:00
version.py project: simplify GetRemote a bit 2022-08-17 16:54:21 +00:00