2013/11/8 Jon <[email protected]>
> Largely irrelevant these days given how well git and mercurial run on
> windows, but is anyone aware of a self-contained patch exe that runs on
> windows and understands both unified diffs and git diffs?
>
> The goal is to have a simple, single file, no dependency patching tool for
> use with automated build recipes like a few of you maintain. Last time I
> looked the gnuwin32 `patch` port didn't support git style diffs.
>
> I'd thought of spelunking the git or mercurial source to try to extract
> the `git apply` or `hg import` functionality into a single exe, but other
> siren songs have been more distracting.
>
Don't bother. There are a thousand ways of getting git to give you a diff.
See e.g. here for tips:
http://stackoverflow.com/questions/4610744/can-i-get-a-patch-compatible-output-from-git-diff
What is patch not doing that you want? It should be able to handle git diff
output if you pass the magic -p option or modify the resulting diff a bit.
Ruben
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public