format-patch: use enum variables