Skip to content
Browse files

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

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
1 parent 647ee57 commit 6339a721f47d11366055266b0d473fe7e6ab66fa @dscho dscho committed Apr 9, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/msvc-build
View
7 bin/msvc-build
@@ -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.
Something went wrong with that request. Please try again.