unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Fabian Ezequiel Gallina <galli.87@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: git push/pull
Date: Sat, 05 Dec 2009 11:15:53 -0500	[thread overview]
Message-ID: <jwvr5r9pfef.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9de1a5ef0912050009i59707986gb177505e04975e1b@mail.gmail.com> (Fabian Ezequiel Gallina's message of "Sat, 5 Dec 2009 05:09:39 -0300")

> I love vc, the thing is I always wanted the hability to do git
> push/pull from vc directly. So today I decided to implement it.

That's great, thank you.

> Below is the code, I sure there is a lot of room for improvement since
> I consider an Emacs LISP newbie myself, but I guess is a good starting
> point for a better implementation.

I'll let git users decide whether they like your specific choices, but
what I'd want on my side is to add support for it directly in vc.el
(i.e. have `vc-push' and `vc-pull' commands which then delegate the
core of the work to the backends.  You don't have to implement any
other backend than Git).


        Stefan




  parent reply	other threads:[~2009-12-05 16:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05  8:09 git push/pull [was: support for bzr shelve/unshelve in vc-dir] Fabian Ezequiel Gallina
2009-12-05  9:07 ` Andreas Schwab
2009-12-05 16:15 ` Stefan Monnier [this message]
2009-12-06  3:12   ` git push/pull Fabian Ezequiel Gallina
2009-12-06 19:21   ` Fabian Ezequiel Gallina
2009-12-06 20:33     ` Andreas Schwab
2009-12-06 21:13       ` Fabian Ezequiel Gallina
2009-12-06 22:45         ` Andreas Schwab
2009-12-08  4:50     ` Stefan Monnier
2009-12-09 17:19       ` Fabian Ezequiel Gallina

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvr5r9pfef.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=galli.87@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).