Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #set -x # This is like '@echo on'
- for FILE in $(git diff --cached --name-only --diff-filter=ACM); do
- if [[ $FILE == *.java ]]; then
- echo Removing comment from ${FILE}
- sed -i '/^[[:space:]]*\/\/ Generated using JFormDesigner/d' "$FILE"
- git add "$FILE"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement