strip outputs, else commit IDs from revparse have newlines in them