* [TIG PATCH] Add missing = for comparison in obsolete actions check.
@ 2007-10-08 17:30 James Bowes
2007-10-09 0:53 ` Jonas Fonseca
0 siblings, 1 reply; 2+ messages in thread
From: James Bowes @ 2007-10-08 17:30 UTC (permalink / raw)
To: fonseca; +Cc: git
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [TIG PATCH] Add missing = for comparison in obsolete actions check.
2007-10-08 17:30 [TIG PATCH] Add missing = for comparison in obsolete actions check James Bowes
@ 2007-10-09 0:53 ` Jonas Fonseca
0 siblings, 0 replies; 2+ messages in thread
From: Jonas Fonseca @ 2007-10-09 0:53 UTC (permalink / raw)
To: James Bowes; +Cc: git
James Bowes <jbowes@dangerouslyinc.com> wrote Mon, Oct 08, 2007:
> 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;
Oops, thanks. I should readd -Wall to CFLAGS in my config.make file.
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-09 0:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 17:30 [TIG PATCH] Add missing = for comparison in obsolete actions check James Bowes
2007-10-09 0:53 ` Jonas Fonseca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).