From f40385aecbd2ae3c0c4e1db441c78b4ca9005d52 Mon Sep 17 00:00:00 2001 From: James Bowes Date: Tue, 9 Oct 2007 02:35:36 +0200 Subject: [PATCH] Add missing = for comparison in obsolete actions check Signed-off-by: James Bowes Signed-off-by: Jonas Fonseca --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2