projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Link git-name-rev and git-symbolic-ref from the main git page
[git.git]
/
show-branch.c
diff --git
a/show-branch.c
b/show-branch.c
index
bb14c86
..
7012000
100644
(file)
--- 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;
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);
fprintf(stderr, "warning: ignoring %s; "
"cannot handle more than %d refs",
refname, MAX_REVS);