From b206672a46f06a652fbc0028129c72cea438f9a3 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 30 Mar 2010 22:12:50 -0400 Subject: [PATCH] argv: remove now unused FORMAT_DASH --- tig.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tig.c b/tig.c index 3c12887..cd3428c 100644 --- a/tig.c +++ b/tig.c @@ -142,7 +142,6 @@ static int load_refs(void); enum format_flags { FORMAT_ALL, /* Perform replacement in all arguments. */ - FORMAT_DASH, /* Perform replacement up until "--". */ FORMAT_NONE /* No replacement should be performed. */ }; @@ -3146,8 +3145,6 @@ format_argv(const char *dst_argv[], const char *src_argv[], enum format_flags fl const char *value; if (!next || noreplace) { - if (flags == FORMAT_DASH && !strcmp(arg, "--")) - noreplace = TRUE; len = strlen(arg); value = ""; -- 2.30.2