Code

Add missing = for comparison in obsolete actions check
authorJames Bowes <jbowes@dangerouslyinc.com>
Tue, 9 Oct 2007 00:35:36 +0000 (02:35 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Tue, 9 Oct 2007 00:35:45 +0000 (02:35 +0200)
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
tig.c

diff --git a/tig.c b/tig.c
index c96faaed2119285b165c4be2b0efd61f8d709cd8..48eeb4dfaf2dba766b9d66c40946ed867b99d203 100644 (file)
--- 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;