git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[TIG PATCH] Add missing = for comparison in obsolete actions check.

From
James Bowes <jbowes@dangerouslyinc.com>
Date
Oct 8, 2007, 17:30 UTC
Message-ID
<20071008173034.GA27292@crux.toronto.redhat.com>
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
---
 tig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tig.c b/tig.c
index 933d083..30c505b 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;
-- 
1.5.3.4.1155.gfe96ee
Next: Jonas Fonseca
Message 1 of 2 in “Add missing = for comparison in obsolete actions check.”
  1. Add missing = for comparison in obsolete actions check.James Bowes, Oct 8, 2007
  2. Jonas FonsecaOct 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.