summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a935c39)
raw | patch | inline | side by side (parent: a935c39)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 23 Oct 2005 08:18:42 +0000 (01:18 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 23 Oct 2005 08:19:48 +0000 (01:19 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
show-branch.c | patch | blob | history |
diff --git a/show-branch.c b/show-branch.c
index 8429c171cf6e6ddbac2f1a95da4a05f7ce8d34a3..ed83645e16bb3364780b93dc3d24722161929b3d 100644 (file)
--- a/show-branch.c
+++ b/show-branch.c
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);