Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] RepositoryCommit.getFiles() always returns null

On Sat, Sep 22, 2018 at 5:40 PM Eugenia Pantiuchina <patrankyte@xxxxxxxxx> wrote:
Hello!

I am using https://github.com/eclipse/egit-github to get all repository commits and their changed files. However, RepositoryCommit.getFiles() always returns null, even though the “files” key of the response JSON is present and non-empty. For example, https://api.github.com/repos/jpantiuchina/line_history/commits/092f7c79373e6e41f60a0e01d957d4cc9500a0b6. I tried many library versions, including the latest
2.1.5.

2.1.5 is very old, the latest release is 5.1.0. You can find it in the Eclipse Maven Repository


-Matthias

Am I doing something wrong? I’m just executing CommitService.getCommits() and then RepositoryCommit.getFiles().


Cheers,
Jevgenija
_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/egit-dev

Back to the top