sha1_file ( ) {
	echo "$*" | sed "s#..#.git/objects/&/#"
} &&

remove_object ( ) {
	file=$(sha1_file "$*") &&
	test -e "$file" ?!AMP?!
	rm -f "$file"
} ?!AMP?!

sha1_file arg && remove_object arg
