Permalink
Browse files

Include a VERSION file in PortableGit.7z

This file records the SHA1 from which the portable Git release was
built.
  • Loading branch information...
1 parent de47364 commit 75ad63e3a5787ce11e726a850f486aed95208d65 @aroben aroben committed May 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 share/WinGit/portable-release.sh
View
1 share/WinGit/portable-release.sh
@@ -20,6 +20,7 @@ TMPDIR=/tmp/WinGit
DONT_REMOVE_BUILTINS=1 "$(dirname $0)/copy-files.sh" $TMPDIR &&
cd "$TMPDIR" &&
+GIT_DIR=/.git git rev-parse HEAD > ./VERSION &&
cp $MSYSGITROOT/share/WinGit/README.portable ./ &&
cp $MSYSGITROOT/msys.bat ./git-bash.bat &&
cp $MSYSGITROOT/git-cmd.bat ./ ||

0 comments on commit 75ad63e

Please sign in to comment.