From: Junio C Hamano Date: Thu, 30 Jan 2020 22:17:09 +0000 (-0800) Subject: Merge branch 'sg/completion-worktree' X-Git-Tag: v2.26.0-rc0~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fec1ff97c2b3c9c5db7e8f2df8d2c81cb94972fd;p=thirdparty%2Fgit.git Merge branch 'sg/completion-worktree' The command line completion (in contrib/) learned to complete subcommands and arguments to "git worktree". * sg/completion-worktree: completion: list paths and refs for 'git worktree add' completion: list existing working trees for 'git worktree' subcommands completion: simplify completing 'git worktree' subcommands and options completion: return the index of found word from __git_find_on_cmdline() completion: clean up the __git_find_on_cmdline() helper function t9902-completion: add tests for the __git_find_on_cmdline() helper --- fec1ff97c2b3c9c5db7e8f2df8d2c81cb94972fd