(ls-tree has --name-only now!)

thanks to Teukka for pointing it out
This commit is contained in:
Sitaram Chamarty 2010-04-12 23:46:29 +05:30
parent 5fd9328c1c
commit 813a2a9908

View file

@ -3,7 +3,7 @@
# checkout the master branch to $GL_ADMINDIR
# (the GL_ADMINDIR env var would have been set by gl-auth-command)
GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master -- \
`git ls-tree master | cut -f2 | perl -lne 'print unless /^(src|hooks)$/'`
`git ls-tree --name-only master | perl -lne 'print unless /^(src|hooks)$/'`
od=$PWD
cd $GL_ADMINDIR