Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-am: Add am.keepcr and --no-keep-cr to override it
[gitweb.git]
/
builtin-blame.c
diff --git
a/builtin-blame.c
b/builtin-blame.c
index 6408ec8ee6805fc42eb5e5dc52be6463d62128bf..10f7eacf6e881cdb54a6b4a4c0aafc5f9751e5a9 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-2433,7
+2433,7
@@
int cmd_blame(int argc, const char **argv, const char *prefix)
if (top < 1)
top = lno;
bottom--;
- if (lno < top)
+ if (lno < top
|| lno < bottom
)
die("file %s has only %lu lines", path, lno);
ent = xcalloc(1, sizeof(*ent));