Thursday, February 12, 2015

Re: missing diff.exe

On Thursday, February 12, 2015 at 4:28:55 PM UTC-5, Charles Campbell wrote:
> FlashBurn wrote:
> > On Thursday, February 12, 2015 at 3:09:58 PM UTC-5, Christian Brabandt wrote:
> >> On Do, 12 Feb 2015, FlashBurn wrote:
> >>
> >>> I'm running gVim 7.4 on Windows 7. I've never used vimdiff command
> >>> before and decided to use it now and as it turns out diff.exe is
> >>> missing. Does anybody have the same issue? Is there a special flag I
> >>> need to be using during compilation to have this executable?
> >> A diff is distributed along with Vim. It should sit in your vim/vim74
> >> directory.
> >>
> >> Best,
> >> Christian
> >> --
> >> In Städten glaubt man, es gehöre zum guten Ton, nicht einmal zu
> >> wissen, wer in demselben Hause wohnt.
> >> -- Adolph Freiherr von Knigge
> > Somehow I don't have it.
> >
> I'm not aware of a diff program that is distributed with vim; perhaps
> some windows bundler does that. Its not in the vim74.tar.bz2, though.
>
> I suggest getting a diff -- try looking for one using Google/Yahoo/etc.
> Using Yahoo and searching for "diff Windows" yielded
> http://gnuwin32.sourceforge.net/packages/diffutils.htm .
>
> Regards,
> Chip Campbell

I think I figured it out. If you compile (g)Vim then diff.exe doesn't come with it, if you use a installer then diff.exe comes with it. So I've installed a gVim in a different directory using the installer, extracted the diff.exe and uninstalled gVim. I would have used gnuwin32 diff, but I wasn't able to figure out how to setup 'diffexpr' setting. My gVim kept complaining that it couldn't create diffs even though I specified a correct path to gnuwin32 diff. I think it had to do something with slashes in Windows, but I just didn't have time to figure it out. Thanks for the help everyone.

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: