Tuesday, October 4, 2022

Re: How to use patches sent to vim_dev?

> Bram sends patches in vim_dev ML. But it's not structured to directly
> use with `git am`, is it? If that's correct, what's the reason for
> using a different patch format?
>
> P.S. I am not gonna use the patch email. But my email client, Claws,
> highlights the patch. In vim patch's case, it can't. That's why I
> noticed the difference.

I send the patches to the maillist so that it's very easy to have a look
at them. You could get the diff in other ways if you know what tools to
use and what magic arguments to use, but that involves just enough work
that close to nobody will actually have a look.

You can apply all the patches in sequence using "patch" and you should
get the right code from that. But it's a lot easier using git and just
fetch the latest from github.

The patch format is one that includes all the information, also about
deleted files and special character handling. Git diffs normally don't
include that, you have to carefully specify what kind of diff it should
create (probably called a patch).

--
hundred-and-one symptoms of being an internet addict:
271. You collect hilarious signatures from all 250 mailing lists you
are subscribed to.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221004125157.27AB91C09A3%40moolenaar.net.

No comments:

Post a Comment