<p>I noticed that <code>kamailio -I</code> and <code>kamailio -V</code> do not give git version hash anymore.</p>
<p>This commit fixes at least kamailio -I and -V output, I think.</p>
<p>I don't know / remember if further adjustment is needed for other REPO_ constants.</p>
<h1>Before</h1>
<pre><code>#define REPO_VER ""
#define REPO_HASH "unknown"
#define REPO_STATE ""
</code></pre>
<pre><code>$ src/kamailio -I|grep Source
Source code revision ID: unknown
</code></pre>
<h1>After</h1>
<pre><code>#define REPO_VER "5c48b2"
#define REPO_HASH "5c48b2"
#define REPO_STATE ""
</code></pre>
<pre><code>$ src/kamailio -I|grep Source
Source code revision ID: 5c48b2
</code></pre>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/1560'>https://github.com/kamailio/kamailio/pull/1560</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>src/Makefile: adjust Makefile to populate REPO_ variables in autover.h again</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/1560/files#diff-0">src/Makefile</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/1560.patch'>https://github.com/kamailio/kamailio/pull/1560.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/1560.diff'>https://github.com/kamailio/kamailio/pull/1560.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/1560">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZSxCB2GaN03bYDRwuVV437jQ_BfJks5t7prXgaJpZM4UjAoA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZcX588hzSNgcjJ2FIDxNi6A-Fd21ks5t7prXgaJpZM4UjAoA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/kamailio/kamailio/pull/1560","url":"https://github.com/kamailio/kamailio/pull/1560","name":"View Pull Request"},"description":"View this Pull Request on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"src/Makefile: fix source code revision output (#1560)"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1560"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "src/Makefile: fix source code revision output (#1560)",
"sections": [
{
"text": "",
"activityTitle": "**Mikko Lehto**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@mslehto",
"facts": [

]
},
{
"title": "Commit Summary",
"facts": [
{
"name": "5c48b27",
"value": "src/Makefile: adjust Makefile to populate REPO_ variables in autover.h again"
}
]
},
{
"title": "File Changes",
"facts": [
{
"name": "Modified",
"value": "[src/Makefile](https://github.com/kamailio/kamailio/pull/1560/files#diff-0) (4 changes)"
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"kamailio/kamailio\",\n\"issueId\": 1560,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"kamailio/kamailio\",\n\"pullRequestId\": 1560\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/kamailio/kamailio/pull/1560"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/kamailio/kamailio/pull/1560.patch"
}
],
"@type": "OpenUri",
"name": "View patch"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/kamailio/kamailio/pull/1560.diff"
}
],
"@type": "OpenUri",
"name": "View diff"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 344721920\n}"
}
],
"themeColor": "26292E"
}</script>