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

SourceTree doesn't recognise wildcards in Git LFS tracking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 1.9.6.2
    • Git
    • None
    • SourceTree standalone, Windows 10, git 1.10.1.windows.1, git-lfs/1.3.1

    • Severity 3 - Minor

    Description

      When tracking file with Git LFS we use a wildcard pattern for case insensitivity such as:

      *.[pP][nN][gG] filter=lfs diff=lfs merge=lfs -text

       

      This allows us to keep our .gitattributes smaller while still catching all the weird permutations that different software packages use for file extensions. However, SourceTree doesn't recognise these patterns so when we go to add new *.png files it warns users that the files are large and should be tracked in Git LFS.

      The work around is to track all variations of file extension cases in use individually and bloat the .gitattributes, making it harder to manage and defeating the point of what we're trying to do.

      Is it possible for SourceTree to support better pattern matching for Git LFS file type tracking?

      Attachments

        Activity

          People

            Unassigned Unassigned
            1658992d9f05 Ed Reid
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: