Permalink
Browse files

msvc-build: make sure transient files are git-ignored

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
dscho committed Apr 10, 2012
1 parent 647ee57 commit 6339a721f47d11366055266b0d473fe7e6ab66fa
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/msvc-build
View
@@ -37,6 +37,13 @@ t)
;;
esac
+to_ignore="$(git ls-files --other --exclude-standard msvcgit msvc-build.cmd)"
+test -z "$to_ignore" || {
+ mkdir -p .git/info &&
+ echo "$to_ignore" |
+ sed 's/^/\//' >> .git/info/exclude
+} || exit
+
test -d msvcgit || git clone git://repo.or.cz/msvcgit.git
vsvars=

0 comments on commit 6339a72

Please sign in to comment.