## VcsDrift


A dataset commit that is gone from VCS history without tether knowing.


Usage

``` python
VcsDrift(
    op,
    commit,
    referenced=dict(),
)
```


`jj undo`, `jj abandon`, `git reset` - anything that removes a commit tether made - leaves the op log believing the commit exists. Detected by `Repo.vcs_drift`, shown by [status](backends.VerifyReport.md#tether.backends.VerifyReport.status) and `ops`.


## Attributes


`op: OpEntry`  
The [commit](vcs.VcsAdapter.md#tether.vcs.VcsAdapter.commit) entry.

`commit: str`  
The commit id it recorded.

`referenced: dict[str, bool]`  
Key -\> whether the working tree's manifest still names the pin that commit made (an undone commit leaves the manifests as uncommitted edits: still referenced; an abandoned one reverts them: not referenced, so `gc` would release the pin).
