Skip to content

Symbolic links followed in project directory when launching external tool #2404

@brainchild0

Description

@brainchild0

If any directory element in a repository path is a symbolic link, and the terminal or file browser is launched as an external tool, then the present working directory of the tool features the links having been resolved. However, very rarely would the user want a path to be used other than by the literal path chosen to refer to the project.

I suggest the original path should be used in the external tool, without automatic resolution of symbolic links.

The steps to reproduce are as follows:

  1. Create an empty directory.
  2. Create a directory subtree, within the new directory, a/b/proj.
  3. Initialize a repository in a/b/proj.
  4. Create a directory x next to a, and create a symbolic link to a/b called x/y.
  5. Open x/y/proj in SourceGit.
  6. Open a terminal or file manager.
  7. The PWD ends as a/b/proj, but desired is that is ends as x/y/proj.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions