{"id":1916,"date":"2019-03-16T19:40:18","date_gmt":"2019-03-16T17:40:18","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1916"},"modified":"2019-03-16T19:40:53","modified_gmt":"2019-03-16T17:40:53","slug":"updateversioninfogit-multiple-references-hashes","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1916","title":{"rendered":"UpdateVersionInfoGit: Multiple references\/hashes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Some time ago I shared an application which I have been using to embed git reference into binary resources, especially as a post-build event in automated manner: <a href=\"https:\/\/alax.info\/blog\/1811\">Embedding a Git reference at build time<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This time I needed a small amendment related to use of a git repository as a sub-module of another repository. To make things easier for troubleshooting, when a project if built as a part of bigger build through a sub-module repository reference, both git details of the repository and its parent might be embedded into resources.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;$(ProjectDir)..\\_Bin\\Third Party\\UpdateVersionInfoGit-$(PlatformName).exe&#8221; path &#8220;$(ProjectDir)..&#8221; path &#8220;$(ProjectDir)..\\..&#8221; binary &#8220;$(TargetPath)&#8221;<\/p><cite><br><\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">The utility allows multiple path arguments, will go over all of them and concetenate the &#8220;git log&#8221; output. When multiple paths are given it is okay to some of them be invalid or unrelated to git repositories.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Download links<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Binaries:\n<ul><li>32-bit: <a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Toolbox\/UpdateVersionInfoGit-Win32.exe\">UpdateVersionInfoGit-Win32.exe<\/a><\/li><li>64-bit: <a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Toolbox\/UpdateVersionInfoGit-x64.exe\">UpdateVersionInfoGit-x64.exe<\/a><\/li><li>License: This software is free to use<\/li><\/ul><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Some time ago I shared an application which I have been using to embed git reference into binary resources, especially as a post-build event in automated manner: Embedding a Git reference at build time. This time I needed a small amendment related to use of a git repository as a sub-module of another repository. To&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1916\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[543],"class_list":["post-1916","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-git"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1916"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1916\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}