"Large files detected" prompt for directories added to LFS

nintendojunkie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2016

I'm playing around with git-lfs in SourceTree.  I've manually edited the .gitattributes file to include a directory for Git LFS tracking, like so:

extensions/** filter=lfs diff=lfs merge=lfs -text

When I try to stage a large  file in the "extensions" folder, I get the following prompt:

Capture.PNG

I have used

git lfs status

to verify that my large file is in fact being picked up by Git LFS.  Why doesn't SourceTree recognize this?

SourceTree for Windows, version 1.9.6.1

Embedded Git version 2.8.1 (+ git-lfs v1.2.0)

1 answer

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2016

This is ST failing to understand the '**' operator, we'll get that fixed up (will link official bug here when filed)

Peter Hansen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2019

I've stumbled upon this issue as well, and our workaround was to explicitly set paths - a single * character on wildcards works, it's just ** that fails.

It'd be great to see this fixed though!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events