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

Malfunction in Git LFS -> Track / Untrack files menu command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: Next minor release
    • Component/s: Git
    • Labels:
      None
    • Environment:

      OS X El Capitan 10.11.6 on Mac Pro (2014)

    • Last commented by user?:
      true
    • Symptom Severity:
      Minor

      Description

      Steps to reproduce:

      1. Open "Repository" menu
      2. Click "Git LFS" sub-menu
      3. Click "Track / Untrack files" item
      4. Click the "+" button to add one entry to the list
        (in my case the list starts empty, but I don't think it makes any difference)
      5. A call-out box appears where the user is asked to either type the extension of the files to be tracked with Git LFS, or to choose it from a drop-down menu.
      6. DON'T open the drop-down menu, only type the extension (for example "lib", or "*.lib")
      7. Click the OK button

      Expected result:

      The new extension should be added to the list

      Actual result:

      A dialog window appears complaining that "You must type or select an extension to add.", even if the extension was actually typed.

      Additional notes:

      While writing this report I noticed two workarounds:

      1. At step #7, if instead of clicking the "OK" button I press the return key on the keyboard, then the extension is correctly accepted and added to the list as expected.
      2. At step #6, if I open and then close the drop down menu before typing the extension, even without selecting anything from the list, then pressing the "OK" button correctly adds the typed extension to the list, as expected

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yyfede Federico Ipsilon
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                2 years, 28 weeks, 4 days ago