You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unable to discard untracked changes due to gettext dependency #91
Discard changes silently fails with the latest Snap installer
Version
GitHub Desktop: 1.5.0-linux5
Operating system: Ubuntu Bionic 18.04
Steps to Reproduce
Ensure you have the "Confirm Discard Changes" option set
Find a repository with valid submodules
Add a new file to the repository
Right-click and discard changes
Confirm the action
Expected Behavior
File is moved to trash, the dialog closes
Actual Behavior
Nothing happens, with clues in the Dev Tools console
Additional Information
`git submodule status --` exited with an unexpected code: 2.
/snap/github-desktop/37/app/resources/app/git/libexec/git-core/git-submodule: 46: .: Can't open /usr/bin/gettext.sh
Uncaught (in promise) d: /snap/github-desktop/37/app/resources/app/git/libexec/git-core/git-submodule: 46: .: Can't open /usr/bin/gettext.sh
at Object.t.git (file:///snap/github-desktop/37/app/resources/app/renderer.js:5:7311)
at <anonymous>
I was able to replicate this on Ubuntu 16.04. This happens only with new files (regardless of file type/extension), and not with changes to existing files.
changed the title [-]unable to discard changes due to gettext dependency[/-][+]unable to discard untracked changes due to gettext dependency[/+]on Nov 22, 2018
Activity
ipkpjersi commentedon Nov 20, 2018
I was able to replicate this on Ubuntu 16.04. This happens only with new files (regardless of file type/extension), and not with changes to existing files.
[-]unable to discard changes due to gettext dependency[/-][+]unable to discard untracked changes due to gettext dependency[/+]