summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7b1c1c)
raw | patch | inline | side by side (parent: a7b1c1c)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 31 Mar 2010 02:12:50 +0000 (22:12 -0400) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 15 Apr 2010 11:20:17 +0000 (07:20 -0400) |
tig.c | patch | blob | history |
index 3c128876a7fbc383c9b1f3802e045d6f5262cd4b..cd3428cc38c29f783bdbc12800f3dd5ad26d86bf 100644 (file)
--- a/tig.c
+++ b/tig.c
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 = "";