mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
bash: add support for 'git replace'
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e0d7805954
commit
e1c1a0674b
|
@ -1798,6 +1798,11 @@ _git_remote ()
|
|||
esac
|
||||
}
|
||||
|
||||
_git_replace ()
|
||||
{
|
||||
__gitcomp "$(__git_refs)"
|
||||
}
|
||||
|
||||
_git_reset ()
|
||||
{
|
||||
__git_has_doubledash && return
|
||||
|
@ -2166,6 +2171,7 @@ _git ()
|
|||
push) _git_push ;;
|
||||
rebase) _git_rebase ;;
|
||||
remote) _git_remote ;;
|
||||
replace) _git_replace ;;
|
||||
reset) _git_reset ;;
|
||||
revert) _git_revert ;;
|
||||
rm) _git_rm ;;
|
||||
|
|
Loading…
Reference in a new issue