Thursday, August 9, 2012

Re: git vim and diff


On Thu, Aug 9, 2012 at 4:22 AM, sinbad <sinbad.sinbad@gmail.com> wrote:
i am using vcsgit, i want to know what values should i set
in VCSCommandGitDiffOpt so that i can view diffs between
working dir/index, working dir/last commit, working dir/head
and all other combinations. or if anyone using anyother better
script to integrate vim with git let me know.

You wouldn't want to set those as options, you'd use them as part of the command (usually).

working dir/index : that's the default, so no options
working dir/last commit:  VCSDiff HEAD^
working dir/head:  VCSDiff HEAD
index / head:  VCSDiff --cached

Thank you,

bob

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: