From: Jonas Fonseca Date: Wed, 31 Mar 2010 02:12:50 +0000 (-0400) Subject: argv: remove now unused FORMAT_DASH X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b206672a46f06a652fbc0028129c72cea438f9a3;p=tig.git argv: remove now unused FORMAT_DASH --- 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 = "";