@@ -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 \\"),
Revert the changes made to alias.c in v1. Signed-off-by: Vinayak Dev <vinayakdev.sci@gmail.com> --- alias.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)