git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sundarbun <sundarbun@yahoo.com>
To: git@vger.kernel.org
Subject: Re: JGIT newbie question
Date: Tue, 11 Jan 2011 13:58:58 -0800 (PST)	[thread overview]
Message-ID: <1294783138346-5912619.post@n2.nabble.com> (raw)
In-Reply-To: <AANLkTin=bZAgYeKHN2NUjYjZU5NBC_bs3bpCNNhijppq@mail.gmail.com>


Thanks Shawn.. I did look at the jGit list and I will post there as well.

>>But if you want to avoid using the working directory
Not sure what this means.. perhaps I have to read up some more...

I got as far as what you have suggested with the Git object in the 
org.eclipse.jgit.api jar.

Where I got stumped was the specification of the userid/pwd/repo path
parameters that tells git when I init it (as I run on an aws machine with no
.git directory initially) to setup shop in a temp working directory that I
specify in the init. 

I was hoping to have an init command that I could pass a valid git repo url,
a user name and pwd and local fileDir so that a .git would be created and
then I can call checkout to get the part of the tree that I am interested
in.

If you have any insight.. I'd appreciate your comments.

thanks again.
S

-- 
View this message in context: http://git.661346.n2.nabble.com/JGIT-newbie-question-tp5911913p5912619.html
Sent from the git mailing list archive at Nabble.com.

      reply	other threads:[~2011-01-11 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 18:51 JGIT newbie question sundarbun
2011-01-11 19:30 ` Shawn Pearce
2011-01-11 21:58   ` sundarbun [this message]

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=1294783138346-5912619.post@n2.nabble.com \
    --to=sundarbun@yahoo.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).