Merge remote-tracking branch 'arrufat/git-add-reset-docstring'
This commit is contained in:
commit
a5f8572fe4
|
@ -50,6 +50,7 @@ define-command -params 1.. \
|
||||||
Available commands:
|
Available commands:
|
||||||
add
|
add
|
||||||
rm
|
rm
|
||||||
|
reset
|
||||||
blame
|
blame
|
||||||
commit
|
commit
|
||||||
checkout
|
checkout
|
||||||
|
@ -67,7 +68,7 @@ define-command -params 1.. \
|
||||||
update-diff
|
update-diff
|
||||||
} -shell-script-candidates %{
|
} -shell-script-candidates %{
|
||||||
if [ $kak_token_to_complete -eq 0 ]; then
|
if [ $kak_token_to_complete -eq 0 ]; then
|
||||||
printf "add\nrm\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n"
|
printf "add\nrm\nreset\nblame\ncommit\ncheckout\ndiff\nhide-blame\nhide-diff\nlog\nnext-hunk\nprev-hunk\nshow\nshow-branch\nshow-diff\ninit\nstatus\nupdate-diff\n"
|
||||||
else
|
else
|
||||||
case "$1" in
|
case "$1" in
|
||||||
commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;
|
commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user