Re: GIT and CVS

Eli Zaretskii
2011-10-14T15:16:59Z

> From: Phil Muldoon <pmuldoon@redhat.com>
> Cc: AndrÃ© PÃ¶nitz <andre.poenitz@nokia.com>,
> gdb@sourceware.org
> Date: Fri, 14 Oct 2011 16:01:38 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: AndrÃ© PÃ¶nitz <andre.poenitz@nokia.com>
> >> Date: Fri, 14 Oct 2011 14:35:59 +0200
> >>
> >> * "Git sucks on MS-Windows". Git is usable on Windows
> >
> > Git _is_ usable on Windows, but it still sucks. It doesn't integrate
> > well with a native MinGW environment, I cannot easily invoke it from
> > the Emacs VC interface, etc. It's inconvenient.
>
> I use emacs and git daily. It would help if you could describe this.
> How does it not integrate well with the MinGW environment? Is it a
> matter of configuration, or some software limitation issue?

It's a matter of tinkering with your Emacs configuration and your
system configuration.

There's no native git port to Windows. There's the Cygwin port, and
there's the port based on MSYS (MsysGit). If your development
environment is Cygwin, or if you use MSYS tools for everyday work
anyway, then perhaps you already have Emacs set up for them (for
Cygwin, the best way is simply to use the Cygwin build of Emacs). But
my development environment includes neither Cygwin nor MSYS, it is a
native w32 environment. The native w32 ports of Posix tools I use are
incompatible with MSYS or Cygwin tools. So for me, using git means to
have 2 segregated environments, or somehow be able to use MsysGit
without stumbling on the MSYS programs it brings with it.

The only easy way I found to do that is to use git from the MSYS
shell, and not have it on my normal PATH, which means I need either a
separate Emacs session, or give up the Emacs VC interface to git.

> Well the original topic was about CVS and GIT, so that should be
> directed to me, over Andre. But archer uses git, a lot of people
> (unscientific I know) use the GDB git mirror. So those are the options
> that I constrained the conversation too.

I use the git mirror as well, though the bzr-git plugin. But I only
do that because there's no bzr mirror; if there were, I would use bzr
instead.