Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-list: expose and document --single-worktree
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index d100b3a3beb61ffd359c3eea997cf8c64b275740..6eba4131b49609506651a69c4dc8f7f0ff1bf07a 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-2251,6
+2251,8
@@
static int handle_revision_pseudo_opt(const char *submodule,
return error("invalid argument to --no-walk");
} else if (!strcmp(arg, "--do-walk")) {
revs->no_walk = 0;
+ } else if (!strcmp(arg, "--single-worktree")) {
+ revs->single_worktree = 1;
} else {
return 0;
}