Allow git-truncate script to accept partial SHA1's

Instead of giving the full SHA1 to script, can give a partial cut, first 7 characters or so.