Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-7838

Error when reverting changes when git verbose console output is enabled : unknown switch `v'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.4.0-beta-0
    • 2.2.4-beta-0, 2.3.5.0
    • Beta, Git
    • Windows 8.1

    • Severity 3 - Minor

    Description

      When using verbose git command, discarding of changes does not work, using both embedded as system git.

      Error message is:

      error: unknown switch `v'

      full error message:

       

      git -c diff.mnemonicprefix=false -c core.quotepath=false checkout -v --MYFILE
      error: unknown switch `v'
      usage: git checkout [<options>] <branch>
       or: git checkout [<options>] [<branch>] -- <file>...-q, --quiet suppress progress reporting
       -b <branch> create and checkout a new branch
       -B <branch> create/reset and checkout a branch
       -l create reflog for new branch
       --detach detach HEAD at named commit
       -t, --track set upstream info for new branch
       --orphan <new-branch>
       new unparented branch
       -2, --ours checkout our version for unmerged files
       -3, --theirs checkout their version for unmerged files
       -f, --force force checkout (throw away local modifications)
       -m, --merge perform a 3-way merge with the new branch
       --overwrite-ignore update ignored files (default)
       --conflict <style> conflict style (merge or diff3)
       -p, --patch select hunks interactively
       --ignore-skip-worktree-bits
       do not limit pathspecs to sparse entries only
       --ignore-other-worktrees
       do not check if another worktree is holding the given ref
       --progress force progress reporting
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            964cf46704a9 Robert Sirre
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: