pre-upload: reject +x on files that should be -x

People sometimes add files with +x bits that don't make sense.
Add a check for many common data files and reject attempts to
add them with +x bits.

TEST=unittest passes
TEST=ran on some old bad commits and they were rejected

Change-Id: Id8de69b986e61b10ea17a4b4e4ceb18b09659259
Commit-Ready: Mike Frysinger <>
Tested-by: Mike Frysinger <>
Reviewed-by: Prathmesh Prabhu <>
2 files changed