Skip to content

Commit

Permalink
completion: bash: remove old compat wrappers
Browse files Browse the repository at this point in the history
It's been eight years, more than enough time to move on.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and gitster committed Oct 28, 2020
1 parent 8030684 commit 441ecda
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3480,18 +3480,6 @@ __git_complete ()
|| complete -o default -o nospace -F $wrapper $1
}

# wrapper for backwards compatibility
_git ()
{
__git_wrap__git_main
}

# wrapper for backwards compatibility
_gitk ()
{
__git_wrap__gitk_main
}

__git_complete git __git_main
__git_complete gitk __gitk_main

Expand Down

0 comments on commit 441ecda

Please sign in to comment.