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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_git_replace ()
|
||||||
|
{
|
||||||
|
__gitcomp "$(__git_refs)"
|
||||||
|
}
|
||||||
|
|
||||||
_git_reset ()
|
_git_reset ()
|
||||||
{
|
{
|
||||||
__git_has_doubledash && return
|
__git_has_doubledash && return
|
||||||
@ -2166,6 +2171,7 @@ _git ()
|
|||||||
push) _git_push ;;
|
push) _git_push ;;
|
||||||
rebase) _git_rebase ;;
|
rebase) _git_rebase ;;
|
||||||
remote) _git_remote ;;
|
remote) _git_remote ;;
|
||||||
|
replace) _git_replace ;;
|
||||||
reset) _git_reset ;;
|
reset) _git_reset ;;
|
||||||
revert) _git_revert ;;
|
revert) _git_revert ;;
|
||||||
rm) _git_rm ;;
|
rm) _git_rm ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user