docs: clarify generated :Gdiff versus Fugitive :Gdiffsplit #125
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
barrettruth/diffs.nvim#125
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent tracker: #270
Problem
The docs need to explain generated
:Gdiffon its own terms.The current stack was motivated by Fugitive interaction limitations, but the product is not a native
:Gdiffsplitclone::Gdiffsplitopens real&diffwindows and uses native Vim diff operations.diffs.nvim :Gdiffopens one generated unifieddiffs://buffer with hunk metadata and plugin-owned actions.Without explicit docs, future work will keep confusing "Fugitive-compatible generated
:Gdiff" with "exact:Gdiffsplitparity".Required documentation context
Document these facts clearly:
:Gdifffrom a worktree file showsindex -> worktree.:Gdiffdoes not show staged-only changes; use status-row staged action or an explicit index/tree endpoint when supported.du/dUchooses the edge from the row:HEAD -> indexindex -> worktree:2:vs theirs:3::Gdiffdoes not support:Gdiffsplit!, native 3-way diff windows, writable Fugitive object buffers, or&diffwindow lifecycle.--stagedflag copied from Fugitive because Fugitive does not have that command surface.dpstages supportedindex -> worktreehunks/ranges.dounstages supportedtree -> indexhunks/ranges.Files likely involved
doc/diffs.nvim.txtREADME.mddoc/tagsif tags are regenerated in this repo's workflowBehavior / readiness
At minimum:
If docs tags are generated by an existing command, run that command too. Do not hand-edit generated tags if the project has a generation path.
Acceptance criteria
:Gdiffis not:Gdiffsplit.