Skip to content

Commit

Permalink
Merge branch 'dt/api-doc-setup-gently'
Browse files Browse the repository at this point in the history
* dt/api-doc-setup-gently:
  docs: document RUN_SETUP_GENTLY and clarify RUN_SETUP
  • Loading branch information
Junio C Hamano committed Jun 3, 2014
2 parents 7ea60c1 + 1d39dbe commit 520cd9c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Documentation/technical/api-builtin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ Git:
where options is the bitwise-or of:

`RUN_SETUP`::

Make sure there is a Git directory to work on, and if there is a
work tree, chdir to the top of it if the command was invoked
in a subdirectory. If there is no work tree, no chdir() is
done.
If there is not a Git directory to work on, abort. If there
is a work tree, chdir to the top of it if the command was
invoked in a subdirectory. If there is no work tree, no
chdir() is done.

`RUN_SETUP_GENTLY`::
If there is a Git directory, chdir as per RUN_SETUP, otherwise,
don't chdir anywhere.

`USE_PAGER`::

Expand Down

0 comments on commit 520cd9c

Please sign in to comment.