mirror of
https://github.com/git/git
synced 2024-08-26 19:19:18 +00:00
Merge branch 'fixes'
This commit is contained in:
commit
8ac3a61f59
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue