2011-05-09 68 views

回答

1

這是我想出了:

for i in `git show --pretty="format:" --name-only HEAD | grep '.*\.hbm\.xml' `; do 
    # call script here..... 
    exit 
done