Skip to content

Commit 520cd9c

Browse files
committed
Merge branch 'dt/api-doc-setup-gently'
* dt/api-doc-setup-gently: docs: document RUN_SETUP_GENTLY and clarify RUN_SETUP
2 parents 7ea60c1 + 1d39dbe commit 520cd9c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Documentation/technical/api-builtin.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ Git:
2222
where options is the bitwise-or of:
2323

2424
`RUN_SETUP`::
25-
26-
Make sure there is a Git directory to work on, and if there is a
27-
work tree, chdir to the top of it if the command was invoked
28-
in a subdirectory. If there is no work tree, no chdir() is
29-
done.
25+
If there is not a Git directory to work on, abort. If there
26+
is a work tree, chdir to the top of it if the command was
27+
invoked in a subdirectory. If there is no work tree, no
28+
chdir() is done.
29+
30+
`RUN_SETUP_GENTLY`::
31+
If there is a Git directory, chdir as per RUN_SETUP, otherwise,
32+
don't chdir anywhere.
3033

3134
`USE_PAGER`::
3235

0 commit comments

Comments
 (0)