Created
August 2, 2016 22:56
-
-
Save hkolbeck/050cf7b7d3fda16a41ef4e95b2270ca2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for pom in `git ls-tree -r --name-only --full-tree ${COMMIT} | grep 'pom.xml$'`; do | |
DIR=`dirname ${pom}` | |
if [ ${DIR} != '.' ]; then | |
mkdir ${TMP_DIR}/${DIR} | |
fi | |
git show ${COMMIT}:${pom} > ${TMP_DIR}/${pom} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment