git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Julliard <julliard@winehq.org>
To: Brent Goodrick <bgoodr@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git vc-git.el versus Emacs vc-git.el versus Gits git.el
Date: Tue, 03 Feb 2009 11:34:42 +0100	[thread overview]
Message-ID: <87ab93yfjx.fsf@wine.dyndns.org> (raw)
In-Reply-To: <18823.47791.359047.560149@hungover.brentg.com> (Brent Goodrick's message of "Mon, 2 Feb 2009 19:31:59 -0800")

Brent Goodrick <bgoodr@gmail.com> writes:

> Hi,
>
> I have some questions concerning the Emacs Git integration:
>
>  1. What is the difference between git.el and vc-git.el in the
>     git/contrib/emacs directory?

vc-git.el is a backend for the Emacs VC mode, which supports the
standard C-x v commands. The advantage is that you can use the same
commands for all VCS.

git.el is a project-wide status manager equivalent to pcl-cvs, but
specialized for git. Its advantage is that by not trying to be generic
it can offer more git-specific functionality that isn't available with
VC mode.

They are not exclusive, you can use both at the same time, depending on
what operations you are doing.

>  2. There is a vc-git.el in the Emacs top-of-trunk sources, and
>     another one in the git/contrib/emacs directory in the Git
>     sources. Which one should I use?  If I should use the one in
>     Emacs, then why is there one in the Git source tree?

The most recent one is the one in the Emacs trunk, so you should use
this if possible. The one in the Git tree is an older version that's no
longer maintained, though it can still be useful if you are running an
old Emacs version.

-- 
Alexandre Julliard
julliard@winehq.org

  reply	other threads:[~2009-02-03 10:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03  3:31 Git vc-git.el versus Emacs vc-git.el versus Gits git.el Brent Goodrick
2009-02-03 10:34 ` Alexandre Julliard [this message]
2009-02-03 15:53   ` Brent Goodrick
2009-02-03 17:46   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab93yfjx.fsf@wine.dyndns.org \
    --to=julliard@winehq.org \
    --cc=bgoodr@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).