OSDN Git Service

add worktree.guessRemote config option
authorThomas Gummerer <t.gummerer@gmail.com>
Wed, 29 Nov 2017 20:04:51 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Dec 2017 17:47:35 +0000 (09:47 -0800)
commite92445a73173cf21a11b8e79cb7be16485deec69
treef23d5693f2c33306d7f17bea1165d65a602c045a
parent71d6682d8ca9870cbe457cf55c83402c33b41030
add worktree.guessRemote config option

Some users might want to have the --guess-remote option introduced in
the previous commit on by default, so they don't have to type it out
every time they create a new worktree.

Add a config option worktree.guessRemote that allows users to configure
the default behaviour for themselves.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-worktree.txt
builtin/worktree.c
t/t2025-worktree-add.sh