Skip to content

feature: add an optional working-directory row to history - #2816

Open
tib8 wants to merge 1 commit into
sourcegit-scm:developfrom
tib8:optional-working-directory-head
Open

tib8 wants to merge 1 commit into
sourcegit-scm:developfrom
tib8:optional-working-directory-head

Conversation

@tib8

@tib8 tib8 commented Oct 26, 2026 •

Copy link
Copy Markdown

Enable "Working Directory" head in the history graph from Preferences / Appearance
This is common in GitKraken and in Hg Workbench

image

Show local changes as a selectable working-directory row above HEAD in history. Selecting it opens the existing Local Changes editor in the details area, with shared staging state and commit-message drafts.

Add an Appearance preference with Hide (the default), show when changes exist, and always show modes. Keep selection and graph connections in sync as status, HEAD, and the preference change; exclude bare repositories.

Validation:

  • dotnet format --verify-no-changes src/SourceGit.csproj
  • dotnet run --project tests/WorkingDirectoryChecks/WorkingDirectoryChecks.csproj -- --render — 157 checks passed, including status refresh, selection, graph connections, preference persistence, and layout checks.
  • Inspected the generated dark-theme history preview.

Based on upstream develop.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant