threads / patch / 36534

patchDocument RUN_SETUP_GENTLY

Subject: [PATCH] Document RUN_SETUP_GENTLY

## tl;dr

2 messages between Apr 29, 2014 and Apr 29, 2014. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

David Turner· Apr 29, 2014, 05:04 UTC · lore
Document RUN_SETUP_GENTLY
Signed-off-by: David Turner <dturner@twitter.com>
---
 Documentation/technical/api-builtin.txt | 5 +++++
 1 file changed, 5 insertions(+)
Show changes to Documentation/technical/api-builtin.txt +5 −1
diff --git a/Documentation/technical/api-builtin.txt
b/Documentation/technical/api-builtin.txt
index e3d6e7a..1bbeda2 100644
--- a/Documentation/technical/api-builtin.txt
+++ b/Documentation/technical/api-builtin.txt
@@ -28,6 +28,11 @@ where options is the bitwise-or of:
  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 create one and don't chdir.
+
 `USE_PAGER`::

  If the standard output is connected to a tty, spawn a pager and
--
Junio C Hamano· Apr 29, 2014, 18:25 UTC · re: David Turner · lore

Re: [PATCH] Document RUN_SETUP_GENTLY

David Turner <dturner@twopensource.com> writes:
Show 20 quoted lines
> Document RUN_SETUP_GENTLY
>
> Signed-off-by: David Turner <dturner@twitter.com>
> ---
>  Documentation/technical/api-builtin.txt | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/technical/api-builtin.txt
> b/Documentation/technical/api-builtin.txt
> index e3d6e7a..1bbeda2 100644
> --- a/Documentation/technical/api-builtin.txt
> +++ b/Documentation/technical/api-builtin.txt
> @@ -28,6 +28,11 @@ where options is the bitwise-or of:
>   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 create one and don't chdir.

I can understand "don't chdir" part, but where does "don't create" come from? Makes it sound as if non GENTLY version would create one if there isn't there, but I am guessing that that is not what you meant to say.

Puzzled.

← back to recent threads