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

SourceTree does not honor command line parameters in Windows correctly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2.4.7.0
    • General
    • Windows 10, from PowerShell, opened per command line

    • Severity 2 - Major

      I want to open SourceTree per command line in the current repository.

      If I run $env:LOCALAPPDATA\SourceTree\SourceTree.exe -f . status then SourceTree opens, but not in the current repository.

      If I run $env:LOCALAPPDATA\SourceTree\app-2.4.7\SourceTree.exe -f . status then SourceTree opens correctly with the current repository.

      Since this is a Squirrel app, it is not feasible to use the hard path with the version. The Sourcetree start wrapper should route all command line parameters to the actual exe.

          Form Name

            [SRCTREEWIN-8307] SourceTree does not honor command line parameters in Windows correctly

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JAC Bug Workflow v3 [ 3453776 ] New: SRCTREE JAC Bug Workflow [ 3744273 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: SourceTree Bug Workflow [ 2506087 ] New: JAC Bug Workflow v3 [ 3453776 ]
            Status Original: Verified [ 10005 ] New: Gathering Impact [ 12072 ]
            minnsey made changes -
            Labels New: installation squirrel
            minnsey made changes -
            Status Original: Open [ 1 ] New: Verified [ 10005 ]
            Brian Ganninger (Inactive) made changes -
            Component/s New: General [ 20292 ]
            Component/s Original: General [ 16290 ]
            Component/s Original: Windows [ 42393 ]
            Key Original: SRCTREE-5281 New: SRCTREEWIN-8307
            Affects Version/s New: 2.4.7.0 [ 77427 ]
            Affects Version/s Original: 2.4.7.0 [ 77524 ]
            Project Original: SourceTree For Mac [ 12910 ] New: SourceTree for Windows [ 14510 ]
            Deleted Account (Inactive) made changes -
            Description Original: I want to open SourceTree per command line in the current browser.

            If I run {{$env:LOCALAPPDATA\SourceTree\SourceTree.exe -f . status}} then SourceTree opens, but not in the current repository.

            If I run {{$env:LOCALAPPDATA\SourceTree\app-2.4.7\SourceTree.exe -f . status}} then SourceTree opens correctly with the current repository.

            Since this is a Squirrel app, it is not feasible to use the hard path with the version. The Sourcetree start wrapper should route all command line parameters to the actual exe.
            New: I want to open SourceTree per command line in the current repository.

            If I run {{$env:LOCALAPPDATA\SourceTree\SourceTree.exe -f . status}} then SourceTree opens, but not in the current repository.

            If I run {{$env:LOCALAPPDATA\SourceTree\app-2.4.7\SourceTree.exe -f . status}} then SourceTree opens correctly with the current repository.

            Since this is a Squirrel app, it is not feasible to use the hard path with the version. The Sourcetree start wrapper should route all command line parameters to the actual exe.
            Deleted Account (Inactive) made changes -
            Description Original: I want to open SourceTree per command line in the current browser.

            If I run {{C:\Users\mgondermann\AppData\Local\SourceTree\SourceTree.exe -f . status}} then SourceTree opens, but not in the current repository.

            If I run {{C:\Users\mgondermann\AppData\Local\SourceTree\app-2.4.7\SourceTree.exe -f . status}} then SourceTree opens correctly with the current repository.

            Since this is a Squirrel app, it is not feasible to use the hard path with the version. The Sourcetree start wrapper should route all command line parameters to the actual exe.
            New: I want to open SourceTree per command line in the current browser.

            If I run {{$env:LOCALAPPDATA\SourceTree\SourceTree.exe -f . status}} then SourceTree opens, but not in the current repository.

            If I run {{$env:LOCALAPPDATA\SourceTree\app-2.4.7\SourceTree.exe -f . status}} then SourceTree opens correctly with the current repository.

            Since this is a Squirrel app, it is not feasible to use the hard path with the version. The Sourcetree start wrapper should route all command line parameters to the actual exe.
            Deleted Account (Inactive) created issue -

              Unassigned Unassigned
              c2ef9569-33fc-42cb-8551-eb6be7cc4b81 Deleted Account (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: