Skip to content

Fix: Include staged changes in the git selector#5624

Merged
themisvaltinos merged 4 commits intomainfrom
themis/fix_git_selector
Dec 10, 2025
Merged

Fix: Include staged changes in the git selector#5624
themisvaltinos merged 4 commits intomainfrom
themis/fix_git_selector

Conversation

@themisvaltinos
Copy link
Contributor

@themisvaltinos themisvaltinos commented Dec 10, 2025

This fixes a bug where a git selector: --select-model "git:branch" excluded staged changes (files after git add), causing them to disappear from selection until committed, by adding the head flag git diff HEAD instead of git diff to capture all uncommitted changes (both staged and unstaged).

docs: https://git-scm.com/docs/git-diff

@themisvaltinos themisvaltinos requested review from a team, izeigerman and newtonapple December 10, 2025 20:36
@themisvaltinos themisvaltinos enabled auto-merge (squash) December 10, 2025 21:55
@themisvaltinos themisvaltinos merged commit ac4aa32 into main Dec 10, 2025
33 of 36 checks passed
@themisvaltinos themisvaltinos deleted the themis/fix_git_selector branch December 10, 2025 22:38
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.

3 participants