Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: correctly track diff-less copies with do_switch
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index abab3b9d01c485bdf6c276011ccaff1c86eeee97..622afe3aa6277220a934a500cbb0f83723f75989 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-832,7
+832,7
@@
int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
revs->max_count = atoi(argv[++i]);
continue;
}
- if (!
strncmp(arg,"-n",2
)) {
+ if (!
prefixcmp(arg, "-n"
)) {
revs->max_count = atoi(arg + 2);
continue;
}