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

Copying commit details is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 4.0
    • Git
    • Severity 3 - Minor

      After upgrading to SourceTree 4.0.1 (OSX), when I select a text in the commit detail (such as the commit hash or anything else) a commit detail text in fixed formatting is copied to the clipboard. Only the selected text should be copied.

      For example:

      The commit detail looks like:

      Update README.
      
      - specific versions and packages for poppler
      - workarounds for installing in virtualenv / on MacOS
      - fix page_count property in the example
      - fix table formatting
      
      Commit: d13fe0e35c59db94c1885817af7167f96565d18b (d13fe0e)
      Parents: 9460e1c09f
      Author: Bohumir Zamecnik <bohumir.zamecnik@gmail.com>
      Date: 22 Nov 2019 at 19:16:18 GMT+7

      If I select just "d13fe0e" or anything else and copy (CMD+C) the text copied to clip board is:

      Update README. d13fe0e Bohumir Zamecnik <bohumir.zamecnik@gmail.com> 22 Nov 2019 at 19:16Update README. d13fe0e Bohumir Zamecnik <bohumir.zamecnik@gmail.com> 22 Nov 2019 at 19:16

      It looks it's a line formatted like this: "{desc first line} {hash} {name} <{email}> {date}". But actually it's there twice.

       

            Unassigned Unassigned
            c7465abbeee7 bzamecnik
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: