diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2017-08-23 12:37:02 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 21:58:50 (GMT) |
commit | 32619f99f94760e90c36fd2a4476f459cb11aa41 (patch) | |
tree | aff3fb88c0d6f27f331e406587fe5b6ebb4f8f8f /revision.c | |
parent | acd9544a8fdcf8095c82c91365c45dcb93112be3 (diff) | |
download | git-32619f99f94760e90c36fd2a4476f459cb11aa41.zip git-32619f99f94760e90c36fd2a4476f459cb11aa41.tar.gz git-32619f99f94760e90c36fd2a4476f459cb11aa41.tar.bz2 |
rev-list: expose and document --single-worktree
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |