Gary Johnson wrote:

> On 2012-09-02, ZyX wrote:
> > > It's not outdated.  ":help development" still says, 'For sending
> > > patches a context diff "diff -c" is preferred.'
> > 
> > The fact that this is help does not mean it is not outdated: “hg
> > annotate” says it was last modified in revision 7 (14 June 2004,
> > tag v7-0001). If you check the list you will see that on first
> > place there is “hg diff” output, on the second is “hg diff --git”;
> > I prefer “hg export” or “hg diff”. “hg diff --git” is the only
> > option if someone needs to add binary files.
> 
> I meant only that the statement of preference for context diffs was
> not outdated.  I assumed that if Bram had changed his preference, he
> would have updated the help entry.
> 
> Using Mercurial does not preclude the use of context diffs.  I have
> the following in my ~/.hgrc,
> 
>     [extdiff]
>     cmd.cdiff = diff
>     opts.cdiff = -c
> 
> and use 'hg cdiff' when generating patches for Vim.

It's fine to send me any kind of context diff.  But in general, not
every Vim user can handel unified diffs.  Some HP and Sun systems
require additional tools.  Thus if you want it to work for everybody,
send old style context diffs.

-- 
Not too long ago, compress was something you did to garbage...

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui