<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 October 2016 at 01:43, Stephano Cetola <span dir="ltr">&lt;<a href="mailto:stephano.cetola@linux.intel.com" target="_blank">stephano.cetola@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":sm" class="a3s aXjCH m1578800bbac166c7">+# If the user hasn&#39;t set up their name/email, set some defaults<br>
+check_git_config() {<br>
+       if [ -z &quot;$1&quot; ]; then<br>
+               name=&quot;OE&quot;<br>
+       else<br>
+               name=&quot;$1&quot;<br>
+       fi<br>
+       if ! git config user.email &gt; /dev/null ; then<br>
+               git config --local user.email &quot;${name}@${DISTRO}&quot;<br>
+       fi<br>
+       if ! git config <a href="http://user.name" rel="noreferrer" target="_blank">user.name</a> &gt; /dev/null ; then<br>
+               git config --local <a href="http://user.name" rel="noreferrer" target="_blank">user.name</a> &quot;${name}&quot;<br>
+       fi<br>
+}</div></blockquote></div><br>Instead of embedding this into sanity.bbclass, could it just go into meta/lib/oe/ somewhere?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>