Skip to content

Commit

Permalink
Merge pull request #98 from aschrab/commit-verbose
Browse files Browse the repository at this point in the history
Support commit.verbose=yes
  • Loading branch information
jreybert committed Oct 13, 2016
2 parents 19adac1 + 64483da commit ead70b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/magit.vim
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,10 @@ function! s:mg_get_commit_section()
" refresh the COMMIT_EDITMSG file
if ( b:magit_current_commit_mode == 'CC' )
silent! call magit#utils#system("GIT_EDITOR=/bin/false " .
\ g:magit_git_cmd . " commit -e 2> /dev/null")
\ g:magit_git_cmd . " -c commit.verbose=no commit -e 2> /dev/null")
elseif ( b:magit_current_commit_mode == 'CA' )
silent! call magit#utils#system("GIT_EDITOR=/bin/false " .
\ g:magit_git_cmd . " commit --amend -e 2> /dev/null")
\ g:magit_git_cmd . " -c commit.verbose=no commit --amend -e 2> /dev/null")
endif
if ( filereadable(git_dir . 'COMMIT_EDITMSG') )
let comment_char=magit#git#get_config("core.commentChar", '#')
Expand Down

0 comments on commit ead70b0

Please sign in to comment.