Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rearrange delta search progress reporting
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 51fff0ec5048478392c140a9f2b68c3650220b10..c193c3ea229be39472cc1f569632b0adc1a7e5d9 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-896,7
+896,8
@@
int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
continue;
argv[i] = NULL;
argc = i;
- revs->prune_data = get_pathspec(revs->prefix, argv + i + 1);
+ if (argv[i + 1])
+ revs->prune_data = get_pathspec(revs->prefix, argv + i + 1);
seen_dashdash = 1;
break;
}