Revert the changes made to alias.c in v1. Signed-off-by: Vinayak Dev <vinayakdev.sci@xxxxxxxxx> --- alias.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/alias.c b/alias.c index 61ef2c0c54..deb871d59c 100644 --- a/alias.c +++ b/alias.c @@ -44,14 +44,9 @@ void list_aliases(struct string_list *list) read_early_config(config_alias_cb, &data); } -/* #define SPLIT_CMDLINE_BAD_ENDING 1 */ -/* #define SPLIT_CMDLINE_UNCLOSED_QUOTE 2 */ -/* #define SPLIT_CMDLINE_ARGC_OVERFLOW 3 */ -enum split_cmdline_error { - SPLIT_CMDLINE_BAD_ENDING = 1, - SPLIT_CMDLINE_UNCLOSED_QUOTE, - SPLIT_CMDLINE_ARGC_OVERFLOW -}; +#define SPLIT_CMDLINE_BAD_ENDING 1 +#define SPLIT_CMDLINE_UNCLOSED_QUOTE 2 +#define SPLIT_CMDLINE_ARGC_OVERFLOW 3 static const char *split_cmdline_errors[] = { N_("cmdline ends with \\"), -- 2.39.1