diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-23 01:20:41 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-23 01:20:41 -0700 |
commit | 8ac3a61f59173d4a9a328518be83a25df610a5ef (patch) | |
tree | 26dfd0f2ee4ad32a23ba963c049af3d176e85980 /show-branch.c | |
parent | 1b9e059d3503f935bb3eebb073cfb0f0401e2adf (diff) | |
parent | 79778e4696502884cdf2b12348ad7300b64fcf6e (diff) | |
download | git-8ac3a61f59173d4a9a328518be83a25df610a5ef.tar.gz |
Merge branch 'fixes'
Diffstat (limited to 'show-branch.c')
-rw-r--r-- | show-branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-branch.c b/show-branch.c index bb14c8677a..70120005be 100644 --- a/show-branch.c +++ b/show-branch.c @@ -260,7 +260,7 @@ static int append_ref(const char *refname, const unsigned char *sha1) 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); |