Davide Spadini
Davide Spadini
@Byron indeed, this is not a bug. To get the correct DIFF, one has always to do: git diff **PARENT** -> **CURRENT** so **NULL_TREE** -> **CURRENT**. The correct solution is:...
I would like to get a list of the Added/Removed lines, directly from the Modification. Something like `Modification.getAddedLines()` ________________________________ Davide Spadini | PhD student +31 06 11 41 19 55...
Yes indeed this is exactly what I wanted. DiffParser and DiffBlock classes are _hidden_ in the middle of repodriller. In my opinion, Modification should not return the _raw diff_, but...
I don't find the option for blaming the file in a specific commit. For what I see, you can only blame the file in the index. I'd like to blame...
Hi @erenturkm! Mmmmm good question, I don't really know. Is there a git command that can give you that info? If so, we can try to write it in Pydriller.
What you pinged seems to find the branch the commit comes from. I thought your question was to find the commit is merged to. No? Anyway, yeah it seems there...
There should be a way to retrieve the entire patch like what you linked: https://github.com/ishepard/pydriller/commit/250391839afcad3320e451c841090ccc69407e94.patch ModifiedFile is just the "parsed" version of it. Marking this as a PR, if anyone...
> @ishepard may I work on this? I'd love that, thanks!
Hi @corneliusroemer! Thanks for your words 😄 Not sure Gitpython provides anything more than `Cmd('git') failed due to`. But sure, if anyone in the community wants to investigate this please...
This might be something on my side actually, I see that even when using the GH API I don't get the roles. I'll investigate further