Let Index commit return only the sha.