That son of a... !! I'll fix his wagon with this script!

.git/hooks/pre-commit:

EXCLUDES="^gremlin-groovy-test/"

git diff --cached --name-only --diff-filter=A | while read line ;do
  echo ${line} | egrep -e ${EXCLUDES}
  if [ "$?" -eq 0 ]; then
    echo Attemping to commit excluded file: ${line}
    exit 1
  fi
done


Robert Dale

On Fri, May 5, 2017 at 2:19 PM, Marko Rodriguez <[email protected]>
wrote:

> Hello,
>
> I just noticed this from a Robert Dale push:
>
>         https://github.com/apache/tinkerpop/tree/master/gremlin-
> groovy-test/src/main/resources/org/apache/tinkerpop/gremlin/groovy/jsr223
> <https://github.com/apache/tinkerpop/tree/master/gremlin-
> groovy-test/src/main/resources/org/apache/tinkerpop/gremlin/groovy/jsr223>
>
> gremlin-groovy-test/ is no longer a project in TinkerPop 3.3.0 (master/).
>
> Thus, when up-merging from tp32/ I typically have to go through and
> manually kill out gremlin-groovy-test/ updates.
>
> Just heads up,
> Marko.
>
> http://markorodriguez.com
>
>
>
>

Reply via email to