Error applying stash: "One or more of this task's arguments is invalid"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • None
    • Affects Version/s: 2.7
    • Component/s: Git
    • None
    • Environment:

      macOS 10.13.2

    • Severity 2 - Major

      Applying stashes has started consistently failing with an error (see below). Viewing stashes doesn't work either, probably for the same underlying reason; when I select a stash the main pane goes blank with a progress indicator that never goes away.

      The error sheet reads:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree stash pop stash@{0} 

      One or more of this task's arguments is invalid. They cannot start with '-', and must follow git ref-format rules: https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html

              Assignee:
              Unassigned
              Reporter:
              snej
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: