summaryrefslogtreecommitdiff
path: root/git.rc
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2012-05-23 23:56:24 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2013-06-04 09:11:08 (GMT)
commitce39c2e04ced177747d02de83f61989dcbcca44e (patch)
tree16909074f9dee8e21892cd9bd5e25849e369ec89 /git.rc
parentfb99070303e8e8af4438c0bad76d459af80d3bba (diff)
downloadgit-ce39c2e04ced177747d02de83f61989dcbcca44e.zip
git-ce39c2e04ced177747d02de83f61989dcbcca44e.tar.gz
git-ce39c2e04ced177747d02de83f61989dcbcca44e.tar.bz2
Provide a Windows version resource for the git executables.
Embeds the git version and description into the git executable thus implementing the request in issue #5. Acked-by: Heiko Voigt <hvoigt@hvoigt.net> Acked-by: Sebastian Schuberth <sschuberth@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'git.rc')
-rw-r--r--git.rc22
1 files changed, 22 insertions, 0 deletions
diff --git a/git.rc b/git.rc
new file mode 100644
index 0000000..bce6db9
--- /dev/null
+++ b/git.rc
@@ -0,0 +1,22 @@
+1 VERSIONINFO
+FILEVERSION MAJOR,MINOR,PATCH,0
+PRODUCTVERSION MAJOR,MINOR,PATCH,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
+ BEGIN
+ VALUE "CompanyName", "The Git Development Community\0"
+ VALUE "FileDescription", "Git for Windows\0"
+ VALUE "InternalName", "git\0"
+ VALUE "OriginalFilename", "git.exe\0"
+ VALUE "ProductName", "Git\0"
+ VALUE "ProductVersion", GIT_VERSION "\0"
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END