Skip to content

Commit

Permalink
Merge branch 'fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
Junio C Hamano committed Oct 23, 2005
2 parents 1b9e059 + 79778e4 commit 8ac3a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show-branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ac3a61

Please sign in to comment.