<div dir="ltr">











<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US">Hi, </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US">I noticed two things related to git-lfs on poky/bitbake/lib/bb/fetch2/git.py, which I think
may me improved:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US">First,
git.py seems to always check the master branch when looking for lfs objects
(_contains_lfs function), even when the branch is specified in SRC_URI;</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US">Second,
the warning message &quot;Repository %s has LFS content but it is not being
fetched&quot; is printed even when git-lfs is available and &quot;lfs=1&quot;
is set.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt" lang="en-US">I could also provide a patch if you think these two issues make sense.<br></p>





</div>