worktree: add --quiet option
authorElia Pinto <gitter.spiros@gmail.com>
Wed, 15 Aug 2018 20:56:30 +0000 (20:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Aug 2018 22:18:01 +0000 (15:18 -0700)
commit371979c21745a8be34a556e663d71e3a984ff4ce
tree15dc8734da32754507c952144e805bb692cf1440
parent63749b2dea5d1501ff85bab7b8a7f64911d21dea
worktree: add --quiet option

Add the '--quiet' option to git worktree, as for the other git
commands. 'add' is the only command affected by it since all other
commands, except 'list', are currently silent by default.

[jc: appiled trivial fix-up to keep the tests from touching outside
the scratch area]

Helped-by: Martin Ă…gren <martin.agren@gmail.com>
Helped-by: Duy Nguyen <pclouds@gmail.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt
builtin/worktree.c
t/t2025-worktree-add.sh