pub fn drop_uncommitted(repo: &Repo, work_dir: &Path) -> SnapshotExpand description
Drop what a call left uncommitted, keeping whatever it committed.
Only commits reach the pull request, but the next review reads the working tree, so an edit left behind is code the reviewer judges and the diff does not have. That is how an agent comes to approve a fix of its own that nobody else can see.