<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GITFN_COMMIT_GET - unable to get commit history in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574336#M34263</link>
    <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2019 19:21:39 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2019-07-17T19:21:39Z</dc:date>
    <item>
      <title>GITFN_COMMIT_GET - unable to get commit history</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574289#M34260</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I was testing the new SASEG functions for git repository using the following&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n10pxql65jtf4sn11m3d6jzcrgcz.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n10pxql65jtf4sn11m3d6jzcrgcz.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;AND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and &lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3057-2019.pdf" target="_blank" rel="noopener"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3057-2019.pdf&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All the codes are from the above paper. They work&lt;STRONG&gt;&amp;nbsp; straight out of the boo&lt;/STRONG&gt;k with appropriate modifications for local paths.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Thanks Zimmerman for such a nice paper)&lt;/STRONG&gt;&lt;BR /&gt;The code works fine with the repository .(SGF2019) mentioned in&amp;nbsp; Zimmerman's paper&lt;BR /&gt;I am trying with&amp;nbsp; bitbucket and my default repository is not master. It has the name develop.&lt;/P&gt;&lt;P&gt;I have checked out the develop repository and tried to get commit history and I cannot get it.&lt;/P&gt;&lt;P&gt;(I tried without checking out the develop repository- the error is the same)&lt;BR /&gt;The error is :&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR: Return code from GIT is (4). reference 'refs/remotes/origin/master' not found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no master and obviously I cannot get the history.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 17:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574289#M34260</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2019-07-17T17:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: GITFN_COMMIT_GET - unable to get commit history</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574330#M34262</link>
      <description>&lt;P&gt;Hi Somename,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First off, I'm happy that you like my paper!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'refs/remotes/origin/master'&amp;nbsp;&lt;/STRONG&gt;is an issue with the GITFN_COMMIT_LOG function. I have addressed this issue for an upcoming release, but for the time being what you could do is create a remote master branch in bitbucket and then do a pull on your local repository. This will add the 'refs/remotes/origin/master' reference to the local repository the function is looking for. Then check out your development branch you have been using, and run GITFN_COMMIT_LOG function again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danny&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 19:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574330#M34262</guid>
      <dc:creator>dazimm</dc:creator>
      <dc:date>2019-07-17T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: GITFN_COMMIT_GET - unable to get commit history</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574336#M34263</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 19:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/GITFN-COMMIT-GET-unable-to-get-commit-history/m-p/574336#M34263</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2019-07-17T19:21:39Z</dc:date>
    </item>
  </channel>
</rss>

