Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-7703

Add Copy relative path to clipboard option in list of committed files

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      This is related to SRCTREE-7702. When I copy one or more paths from the list of files in a particular commit, I often want to perform some kind of operation in the repo directory: editing or zipping up those files or whatever. Probably 90% of the time, what I really want is not the full absolute path to each file, but instead the path to each file relative to the root folder. In fact, I want those paths exactly as they're displayed in the list of commit files.

      IntelliJ IDEA does a nice job of this, providing a number of options when copying paths, including absolute path, path from source root (which wouldn't really apply to Sourcetree because it's not aware of what a source folder is), and path from content root (project root, I think) or path from repository root, i.e. something like src/main/java/.../Foo.java, which is what I'd like as an alternative.

            [SRCTREE-7703] Add Copy relative path to clipboard option in list of committed files

            This is important for many of us. Can you please add this to the fix list ASAP

            As @asmo said, THIS Was definitely working 

            Gunaranjan Pemmaraju added a comment - This is important for many of us. Can you please add this to the fix list ASAP As @asmo said, THIS Was definitely working 

            I am quite sure it used to copy path within repo, not full path? I have been happily using Sourcetree for many years (probably 8, at least more than 5), and for detailed commit notes per file my workflow was to select committed files in Source, "Copy Path to Clipboard", paste into commit message and add details.

            Or am I just dreaming?

            Asmo Soinio added a comment - I am quite sure it  used to copy path within repo, not full path? I have been happily using Sourcetree for many years (probably 8, at least more than 5), and for detailed commit notes per file my workflow was to select committed files in Source, "Copy Path to Clipboard", paste into commit message and add details. Or am I just dreaming?

              Unassigned Unassigned
              8d439cff5a2a Rick Herrick
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: