Skip to content

Add filepaths to ContentChangeStats.#1372

Open
kingsimmy wants to merge 1 commit intolibgit2:masterfrom
kingsimmy:change-stats-filename
Open

Add filepaths to ContentChangeStats.#1372
kingsimmy wants to merge 1 commit intolibgit2:masterfrom
kingsimmy:change-stats-filename

Conversation

@kingsimmy
Copy link
Copy Markdown

Hi,

I'm looking for a way to exclude file renames when counting lines changed by a commit. At the moment it is possible to iterate the individual ContentChangeStats which a PatchStats diff contains.
However it is not possible to see if a ContentChangeStats corresponds to a file rename.

Hence adding the original filepath and new filepath to the ContentChangeStats would be helpful.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant