Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Diff between working directory and commit

-----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
> org.eclipse.egit.core.op.CreatePatchOperation.execute(IProgressMonitor)
>
> 
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

http://eitchnet.ch
http://gsinet.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk86GkUACgkQFnSXY2eHI203XQCbBxfxh5qViI4VXmdEXzbZ9m0u
N9UAoJuWJNTdgIXOuho7bgxwSXKv6OLw
=1b66
-----END PGP SIGNATURE-----


Back to the top