commit | 02b54b3dfd5c1aa039acd73b5a1c77f382c506b3 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Sun Oct 23 01:57:42 2005 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Sun Oct 23 01:57:42 2005 -0700 |
tree | 81163461d13961aeeb5642fae2ad4ccad894bec1 | |
parent | f6804930cae3ccf48b200264bdb7a25b4382d454 [diff] | |
parent | 79778e4696502884cdf2b12348ad7300b64fcf6e [diff] |
Merge branch 'fixes'
diff --git a/show-branch.c b/show-branch.c index 8429c17..ed83645 100644 --- a/show-branch.c +++ b/show-branch.c
@@ -247,7 +247,7 @@ struct commit *commit = lookup_commit_reference_gently(sha1, 1); if (!commit) return 0; - if (MAX_REVS < ref_name_cnt) { + if (MAX_REVS <= ref_name_cnt) { fprintf(stderr, "warning: ignoring %s; " "cannot handle more than %d refs", refname, MAX_REVS);