mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 16:53:25 +00:00
cli util gc
: document the fact that evolution log limits gc
This is a followup to the discussion in https://github.com/martinvonz/jj/pull/4953#discussion_r1855328098
This commit is contained in:
parent
e5de0fc742
commit
1f554e801f
2 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,9 @@ use crate::ui::Ui;
|
|||
///
|
||||
/// To garbage-collect old operations and the commits/objects referenced by
|
||||
/// then, run `jj op abandon ..<some old operation>` before `jj util gc`.
|
||||
///
|
||||
/// Previous versions of a change that are reachable via the evolution log are
|
||||
/// not garbage-collected.
|
||||
#[derive(clap::Args, Clone, Debug)]
|
||||
pub struct UtilGcArgs {
|
||||
/// Time threshold
|
||||
|
|
|
@ -2270,6 +2270,8 @@ Run backend-dependent garbage collection.
|
|||
|
||||
To garbage-collect old operations and the commits/objects referenced by then, run `jj op abandon ..<some old operation>` before `jj util gc`.
|
||||
|
||||
Previous versions of a change that are reachable via the evolution log are not garbage-collected.
|
||||
|
||||
**Usage:** `jj util gc [OPTIONS]`
|
||||
|
||||
###### **Options:**
|
||||
|
|
Loading…
Reference in a new issue