summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-06-13 19:18:25 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-08 15:31:04 -0700
commit6d308627cae4d34c058591de73ce14a52b79cf4e (patch)
tree9d87bb41ad8390127869ed99a4fd453886acc9df /contrib/completion
parentworktree: add "lock" command (diff)
downloadtgif-6d308627cae4d34c058591de73ce14a52b79cf4e.tar.xz
worktree: add "unlock" command
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index f88727dfe7..0e3841d835 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2597,7 +2597,7 @@ _git_whatchanged ()
_git_worktree ()
{
- local subcommands="add list lock prune"
+ local subcommands="add list lock prune unlock"
local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then
__gitcomp "$subcommands"