-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
bugConfirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugs
Description
The problem
When the "There are no changes to commit." error occurs (after trying to add changes from the worktree that disapear during the staging process), the list of changes should refresh to show that there is no changes without the user having to go to the history tab (or de-focus and re-focus the window).
Release version
3.5.3
Operating system
Windows 11
Steps to reproduce the behavior
- Run the following bash script
# Initialize a new git repository
git init ghd-test
cd ghd-test
echo '* text=auto' > .gitattributes
git add .gitattributes
git commit -m 'Initial'
# Create a file with LF line endings
printf 'Hello\nWorld\n' > Hello.txt
git add Hello.txt
git commit -m 'LF'- Open VS Code and change the line endings of Hello.txt to CRLF
- Open GitHub Desktop and notice the detected changes
- Try to commit changes
- Click "Close" on the error message
- Wait... (the list of changes won't update)
Log files
No response
Screenshots
Just to confirm, this is what I have in the .gitattributes file
Additional context
GitHub-Desktop-Demo.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugConfirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugs
Type
Fields
Give feedbackNo fields configured for issues without a type.