# [PATCH] subtree: support long global flags

2 messages from 2023-05-07 to 2023-05-08. Participants: Josh Soref via GitGitGadget, Junio C Hamano.
Thread: https://gitlist.dev/t/59703

## Josh Soref via GitGitGadget, 2023-05-07 03:09

Subject: [PATCH] subtree: support long global flags
Message-ID: <pull.1514.git.1683428988693.gitgitgadget@gmail.com>
URL: https://gitlist.dev/e/pull.1514.git.1683428988693.gitgitgadget%40gmail.com

```
From: Josh Soref <jsoref@gmail.com>

The documentation at e75d1da38a claimed support, but it was never present

Signed-off-by: Josh Soref <jsoref@gmail.com>
---
    subtree: support long global flags
    
    The documentation at e75d1da38a claimed support, but it was never
    present

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1514%2Fjsoref%2Fsubtree-global-flags-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1514/jsoref/subtree-global-flags-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1514

 contrib/subtree/git-subtree.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh
index 10c9c87839a..7db4c45676d 100755
--- a/contrib/subtree/git-subtree.sh
+++ b/contrib/subtree/git-subtree.sh
@@ -34,8 +34,8 @@ git subtree pull  --prefix=<prefix> <repository> <ref>
 git subtree push  --prefix=<prefix> <repository> <refspec>
 --
 h,help        show the help
-q             quiet
-d             show debug messages
+q,quiet       quiet
+d,debug       show debug messages
 P,prefix=     the name of the subdir to split out
  options for 'split' (also: 'push')
 annotate=     add a prefix to commit message of new commits

base-commit: 9857273be005833c71e2d16ba48e193113e12276
-- 
gitgitgadget

```

## Junio C Hamano, 2023-05-08 14:58

Subject: Re: [PATCH] subtree: support long global flags
Message-ID: <xmqq4jomswe4.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqq4jomswe4.fsf%40gitster.g
In-Reply-To: <pull.1514.git.1683428988693.gitgitgadget@gmail.com>

```
"Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: Josh Soref <jsoref@gmail.com>
>
> The documentation at e75d1da38a claimed support, but it was never present
>
> Signed-off-by: Josh Soref <jsoref@gmail.com>
> ---
>     subtree: support long global flags
>     
>     The documentation at e75d1da38a claimed support, but it was never
>     present

Sounds like a good thing to do.  Will queue.



>
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1514%2Fjsoref%2Fsubtree-global-flags-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1514/jsoref/subtree-global-flags-v1
> Pull-Request: https://github.com/gitgitgadget/git/pull/1514
>
>  contrib/subtree/git-subtree.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh
> index 10c9c87839a..7db4c45676d 100755
> --- a/contrib/subtree/git-subtree.sh
> +++ b/contrib/subtree/git-subtree.sh
> @@ -34,8 +34,8 @@ git subtree pull  --prefix=<prefix> <repository> <ref>
>  git subtree push  --prefix=<prefix> <repository> <refspec>
>  --
>  h,help        show the help
> -q             quiet
> -d             show debug messages
> +q,quiet       quiet
> +d,debug       show debug messages
>  P,prefix=     the name of the subdir to split out
>   options for 'split' (also: 'push')
>  annotate=     add a prefix to commit message of new commits
>
> base-commit: 9857273be005833c71e2d16ba48e193113e12276

```
