[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] Diff between working directory and commit
- From: Tomasz Zarna <tzarna@xxxxxxxxx>
- Date: Tue, 14 Feb 2012 10:46:53 +0100
- Delivered-to: firstname.lastname@example.org
> And the FileIterator is for the working directory?
Yes, FileTreeIterator is a WorkingTreeIterator.
Is it a missing feature in EGit or are you doing it for your own project?
On Tue, Feb 14, 2012 at 09:24, Robert von Burg <eitch@xxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hello Tomasz
> On 02/13/2012 03:22 PM, Tomasz Zarna wrote:
>> DirCacheIterator represents index (stage area), so your code shows
>> diffs between working tree (unstaged files) and the index (staged
>> files), ie what "git diff" with no params does.
> Ahh, I was looking for that. I never quite understood it. And the
> FileIterator is for the working directory?
>> Have a look at
> from EGit where diffs for commits and working tree/index are
>> generated. It should give you an idea how to proceed. If not feel
>> free to drop me a line.
> Thank you, I will look at this.
> kind regards
> - --
> Robert von Burg <eitch@xxxxxxxxxxx>
> dipl. Informatiker in Softwareentwicklung HF / pBac-Eng ODEC
> software development
> system & network administration
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> jgit-dev mailing list