From: James Bowes Date: Tue, 9 Oct 2007 00:35:36 +0000 (+0200) Subject: Add missing = for comparison in obsolete actions check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f40385aecbd2ae3c0c4e1db441c78b4ca9005d52;p=tig.git Add missing = for comparison in obsolete actions check Signed-off-by: James Bowes Signed-off-by: Jonas Fonseca --- diff --git a/tig.c b/tig.c index c96faae..48eeb4d 100644 --- a/tig.c +++ b/tig.c @@ -1184,7 +1184,7 @@ option_bind_command(int argc, char *argv[]) } request = get_request(argv[2]); - if (request = REQ_NONE) { + if (request == REQ_NONE) { const char *obsolete[] = { "cherry-pick" }; size_t namelen = strlen(argv[2]); int i;