auto merge of #1449 : zmike/servo/master, r=larsbergstrom

this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
This commit is contained in:
bors-servo 2014-01-03 06:04:36 -08:00
commit 2fa4699274

5
configure vendored
View file

@ -456,9 +456,8 @@ then
need_ok "git failed"
msg "git: submodule clobber"
"${CFG_GIT}" submodule foreach --recursive git clean -dxf
need_ok "git failed"
"${CFG_GIT}" submodule foreach --recursive git checkout .
"${CFG_GIT}" submodule foreach --recursive \
'if [ -n "$(git status --porcelain)" ] ; then echo "Refusing to clobber $path" ; else git clean -dxf ; git checkout . ; fi'
need_ok "git failed"
cd ${CFG_BUILD_DIR}