projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working from subdirectory: preparation
[git.git]
/
rev-list.c
diff --git
a/rev-list.c
b/rev-list.c
index
6e6ffde
..
e17f928
100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-124,8
+124,6
@@
static int filter_commit(struct commit * commit)
stop_traversal=1;
return CONTINUE;
}
stop_traversal=1;
return CONTINUE;
}
- if (max_count != -1 && !max_count--)
- return STOP;
if (no_merges && (commit->parents && commit->parents->next))
return CONTINUE;
if (paths && dense) {
if (no_merges && (commit->parents && commit->parents->next))
return CONTINUE;
if (paths && dense) {
@@
-148,6
+146,9
@@
static int process_commit(struct commit * commit)
return CONTINUE;
}
return CONTINUE;
}
+ if (max_count != -1 && !max_count--)
+ return STOP;
+
show_commit(commit);
return CONTINUE;
show_commit(commit);
return CONTINUE;