Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Gcommit with Git commit #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/gitv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ Once rebasing mode is enabled, `grc` may do one of several things. If the
rebasing instruction would normally trigger a commit, the fugitive commit
window will automatically open. If you are not sure why the window has opened,
please view the comments in the commit window. If the window is closed, it can
always be reopened with `Gcommit`. gitv may also do nothing. This indicates
always be reopened with `Git commit`. gitv may also do nothing. This indicates
that you have a chance to edit the commit.

You can continue with the rebase process at any interactive instruction with
Expand Down
6 changes: 3 additions & 3 deletions plugin/gitv.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1989,9 +1989,9 @@ fu! s:RebaseContinueCleanup() "{{{
endif
if mode == 'r' || mode == 's'
if mode == 'r'
Gcommit --amend
Git commit --amend
else
Gcommit
Git commit
endif
set modifiable
if &ft == 'gitcommit'
Expand Down Expand Up @@ -2453,7 +2453,7 @@ fu! s:Revert() range "{{{
throw split(result, '\n')[0]
return
endif
exec 'Gcommit'
exec 'Git commit'
endfu "}}}
fu! s:DeleteRef() range "{{{
let refs = gitv#util#line#refs(a:firstline)
Expand Down