Skip to content

Option to provide include/exclude selected git properties #17

@pnowy

Description

@pnowy

Hi,

I was thinking that nice feature would be a additional parameter which allows you to specify which keys from the created dictionary you would like to keep or exclude like:

gitinfo.get_git_info(dir=fullpath, include=["commit]) // just keep the commit
gitinfo.get_git_info(dir=fullpath, exclude=["author]) // only exclude author

It's possible later but embedded functionality could be useful in case of file distribution, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions