Lutra/ui/src/components/vcs
danny 301443db7d C3: chunk staging, unstaging and revert from the gutter and the diff viewer
- crates/vcs chunk.rs: chunks of a file (buffer text vs index, HEAD vs
  index), a minimal patch applied with git apply --cached, revert as a
  byte edit; token refusal when buffer, index or HEAD changed; CRLF
  (autocrlf and stored), no final newline, BOM, staged renames, first
  commit; binary and untracked refused. Real-git tests + property test.
- engine: git.chunks, git.stageChunk, git.unstageChunk, git.revertChunk
  (revert edits the buffer under the lock, undoable in the editor);
  cmd::git::start_then; git.lineChanges shares the vcs line diff.
- UI: chunk popup on a gutter marker click (Stage / Unstage / Revert /
  Previous / Next), hollow staged markers, vcs.showChunk, diff viewer
  hint, "partly staged" badge in the Changes window.
- Docs: G8 row, Git parity row evidence, ui-parity, architecture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 12:50:11 +01:00
..
branches F1: remote checkout without a remote, git.lastMessage, shared git status store 2026-10-27 17:16:53 +01:00
changes C3: chunk staging, unstaging and revert from the gutter and the diff viewer 2026-11-01 12:50:11 +01:00
diff C3: chunk staging, unstaging and revert from the gutter and the diff viewer 2026-11-01 12:50:11 +01:00
log M4.6: Git log and file history 2026-10-28 18:00:24 +01:00
merge M4.8: merge conflicts with a three-pane resolve view 2026-10-29 18:51:04 +01:00
remote M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
stash M4.9: Git stash (stash, list, apply, pop, drop) with clear refusals 2026-10-30 17:37:53 +01:00