Skip to content

feat(graph): setting to hide stashes from the graph - #115

Open
patrick-cst1 wants to merge 1 commit into
the0807:mainfrom
patrick-cst1:fix/issue-100-hide-stashes
Open

patrick-cst1 wants to merge 1 commit into
the0807:mainfrom
patrick-cst1:fix/issue-100-hide-stashes

Conversation

@patrick-cst1

Copy link
Copy Markdown

Summary

  • Adds gitGraphPlus.showStashes (boolean, default true = current behaviour). When false, stashes are not inserted into the graph and commit search results, and no stash walk start points are added. The Stashes sidebar is untouched.

Related Issue

Closes #100

Changes

  • LogOptions.includeStashes + log() skip; searchCommits/searchByFile add --exclude=refs/stash when disabled.
  • All MainPanel log()/search call sites threaded + config-change refresh.
  • Tests: git-service log/search, config reader, MainPanel pass-through.

Type of Change

  • New feature
  • Test addition or update

Testing

  • New tests fail on unmodified main and pass with the change.- npx tsc --noEmit clean.
  • Full suite on Windows: 260 pre-existing failures (POSIX-only integration helper + env), 0 new failures vs main; focused tests pass.
  • The repo's integration suite only runs on Linux (its helper uses POSIX quoting), CI covers those.

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.

[FEATURE]

1 participant