Merged revision(s) 1555973 from lucene/dev/trunk: LUCENE-5385: Make precommit work for svn 1.8 or git checkouts