Skip to content

unable to discard untracked changes due to gettext dependency #91

Closed

Description

@shiftkey

Description

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

  1. Ensure you have the "Confirm Discard Changes" option set
  2. Find a repository with valid submodules
  3. Add a new file to the repository
  4. Right-click and discard changes
  5. 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>

Logs

Activity

  1. added
    installers/snap
    on Nov 20, 2018
  2. ipkpjersi commented on Nov 20, 2018

    @ipkpjersi

    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.

  3. changed the title [-]unable to discard changes due to gettext dependency[/-] [+]unable to discard untracked changes due to gettext dependency[/+] on Nov 22, 2018
  4. self-assigned this
    on Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buginstallers/snap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions