git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Vagmi Mudumbai" <vagmi.mudumbai@gmail.com>
To: git@vger.kernel.org
Subject: JGit vs. Git
Date: Tue, 6 Jan 2009 12:20:11 +0530	[thread overview]
Message-ID: <a55cfe9d0901052250k2be203dfvb0b437a523f2cecc@mail.gmail.com> (raw)
In-Reply-To: <a55cfe9d0901052249v1461c70cp1d89e184cfc05eb9@mail.gmail.com>

Hi,

I am a git and a jgit noob. Be gentle. :-)

1) Is JGit a drop in replacement of Git? In sense, if I were to pack
in an SCM with my app, Can I pack jgit instead of C Git?

2) I noticed that there are no 'add' and 'commit' commands (at least
from the source) in the org.spearce.git.pgm project. I am looking at
the repo.or.cz/egit.git repo. I had a brief look at the
lib/GitIndex.java and lib/Repository.java. GitIndex has the add
methods to add files/entries to the index. I am still stumped on how
commits can be done with JGit. Any help is hugely appreciated.

I am working on Windows with msysGit behind a HTTP Proxy. (Life cant
get worse, I guess.) . I planned on using grit via JRuby but grit uses
fork which is not available on funny platforms like windows. And JRuby
guys do not have any plan on supporting fork even on platforms on
which for is supported. If JGit is a pure Java based implementation of
Git with more or less the same functionality, then my work becomes a
lot easier.

Regards,
Vagmi

       reply	other threads:[~2009-01-06  6:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a55cfe9d0901052249v1461c70cp1d89e184cfc05eb9@mail.gmail.com>
2009-01-06  6:50 ` Vagmi Mudumbai [this message]
2009-01-06 11:12   ` JGit vs. Git Robin Rosenberg
2009-01-06 19:55     ` Stephen Bannasch
2009-01-06 18:45   ` Shawn O. Pearce
2009-01-06 21:41   ` Johannes Schindelin
2009-01-07  5:08     ` Vagmi Mudumbai

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=a55cfe9d0901052250k2be203dfvb0b437a523f2cecc@mail.gmail.com \
    --to=vagmi.mudumbai@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).