Skip to content

Commit 6dedd1d

Browse files
committed
Update spatial-tree docstring
1 parent 06a470d commit 6dedd1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kart/spatial_tree.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ def spatial_tree(ctx, **kwargs):
410410
@click.pass_context
411411
def index(ctx, index_all_commits, clear_existing, commits):
412412
"""
413-
Indexes all features added by the supplied commits and all of their ancestors.
414-
To stop recursing at a particular ancestor or ancestors (eg to stop at a commit
415-
that has already been indexed) prefix that commit with a caret: ^COMMIT.
413+
Indexes all features added by the supplied commits and their ancestors.
414+
The commits can be specified in any format accepted by git rev-list, including
415+
--all, COMMIT-TO-INCLUDE, ^COMMIT-TO-EXCLUDE, and RANGE-START..RANGE-END
416416
"""
417417
if index_all_commits and commits:
418418
raise click.UsageError("Can't supply both --all and commits to be indexed")

0 commit comments

Comments
 (0)