From: "Florian Köberle" <FloriansKarten@web.de>
To: git@vger.kernel.org
Cc: spearce@spearce.org, robin.rosenberg@dewire.com
Subject: [egit / jgit] Implementation of a file tree iteration using ignore rules.
Date: Fri, 09 May 2008 15:20:08 +0200 [thread overview]
Message-ID: <48244F88.8060109@web.de> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I like the idea of a Java implementation of git and would like to
contribute to the jgit/egit project.
In order to get familiar with the code I started to implement a command
like tool which works like git using the jgit library. I implemented
very simple versions of the commands "help", "init" and finally wanted
to implement the "add" command. However, I didn't find any tools to
determine the files which should be added.
So I implemented a factory which returns an Iterable<File> for the
iteration over all the files in a directory.
For an example see the unit test testRealisticExample() in the class
FileIterableFactoryForAddCommandTest:
http://repo.or.cz/w/egit/florian.git?a=blob;f=org.spearce.jgit.test/tst/org/spearce/jgit/lib/fileiteration/FileIterableFactoryForAddCommandTest.java;h=d3c78f4422c708f26ccb56434053bb711fa3116b;hb=669fd814d34e2f989b5f8eedbcb0d5bcf9743ce7
You can view the patches online at:
http://repo.or.cz/w/egit/florian.git?a=shortlog;h=refs/heads/mailinglist-patches-0
I signed all patches and formatted them with the code formatter as I
should. It's ok for me to put the patches under a dual license between a
3-clause BSD and the EPL[*3*]. Currently all files have a GPL 2 notice.
I hope that is ok.
If you want I will send the patches to the mailing list, but I don't
know any automated way to create all the emails. I am not even sure if I
will get them formatted correctly with Thunderbird 2. It would be cool
if you could tell me how to send patches via command line.
I hope you like my patches,
Florian Koeberle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIJE+I59ca4mzhfxMRAqlwAKCSp57SkqvVsBpdt8o3jL6zNdn0kACfeLnZ
IHErO96fu2rdQcT+JpmroYU=
=E+vF
-----END PGP SIGNATURE-----
next reply other threads:[~2008-05-09 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 13:20 Florian Köberle [this message]
2008-05-10 0:11 ` [egit / jgit] Implementation of a file tree iteration using ignore rules Shawn O. Pearce
2008-05-10 15:11 ` Florian Köberle
2008-05-11 0:12 ` Shawn O. Pearce
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=48244F88.8060109@web.de \
--to=florianskarten@web.de \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
--cc=spearce@spearce.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.