threads / discuss / 49041

git worktree add verbosity

Subject: git worktree add verbosity

## tl;dr

3 messages between Aug 5, 2018 and Aug 5, 2018.

replies: 2people: 3as markdown or json

Karen Arutyunov· Aug 5, 2018, 12:55 UTC · lore
Hello,
We are using git for automation in our build2 project.

What's quite inconvenient is that the 'git worktree add' command prints some output by default and there is no way to suppress it, as it normally can be achieved with the --quiet option for the most of git commands.

Could you add support for the --quiet option for the worktree command?

Best regards, Karen

Thomas Gummerer· Aug 5, 2018, 15:01 UTC · re: Karen Arutyunov · lore

Re: git worktree add verbosity

On 08/05, Karen Arutyunov wrote:
Show 9 quoted lines
> Hello,
> 
> We are using git for automation in our build2 project.
> 
> What's quite inconvenient is that the 'git worktree add' command prints some
> output by default and there is no way to suppress it, as it normally can be
> achieved with the --quiet option for the most of git commands.
> 
> Could you add support for the --quiet option for the worktree command?

I think a '--quiet' option would be nice to have. I wouldn't need it much personally, so I'm probably not going to work on it, but it would be great if you could work on that. The best place to get started with contributing is to read Documentation/SubmittingPatches document. The CONTRIBUTING.md in the git-for-windows repository [1] may also have some helpful pointers. Some of it is windows specific, but a lot of it is generally applicable.

I'm happy to help reviewing these patches, and give more pointers to help you get started. Another useful resource is the #git-devel IRC channel on Freenode, where you may be able to get some help (may need some patience though :))

[1]: https://github.com/git-for-windows/git/blob/master/CONTRIBUTING.md
> Best regards,
> Karen
Eric Sunshine· Aug 5, 2018, 18:37 UTC · re: Thomas Gummerer · lore

Re: git worktree add verbosity

On Sun, Aug 5, 2018 at 11:01 AM Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 8 quoted lines
> On 08/05, Karen Arutyunov wrote:
> > What's quite inconvenient is that the 'git worktree add' command prints some
> > output by default and there is no way to suppress it, as it normally can be
> > achieved with the --quiet option for the most of git commands.
> >
> > Could you add support for the --quiet option for the worktree command?
>
> I think a '--quiet' option would be nice to have. [...]

Indeed, omission of a --quiet flag was not an oversight, but rather considered an optional feature "awaiting demand"[1]. Apparently, there is now demand for it.

[1]: https://public-inbox.org/git/1436203860-846-12-git-send-email-sunshine@sunshineco.com/

← back to recent threads