diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 14ec45a3f6..ecaf0a49af 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -829,7 +829,7 @@ class Git(FetchMethod): | |||
| 829 | """ | 829 | """ |
| 830 | Check if the repository has 'lfs' (large file) content | 830 | Check if the repository has 'lfs' (large file) content |
| 831 | """ | 831 | """ |
| 832 | cmd = "%s grep lfs %s:.gitattributes | wc -l" % ( | 832 | cmd = "%s grep '^[^#].*lfs' %s:.gitattributes | wc -l" % ( |
| 833 | ud.basecmd, ud.revision) | 833 | ud.basecmd, ud.revision) |
| 834 | 834 | ||
| 835 | try: | 835 | try: |
