Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for querying attributes #528

Merged
merged 1 commit into from
May 22, 2015
Merged

Conversation

carlosmn
Copy link
Member

Expose a method in the repository which allows querying an attribute for
a file and converts the result to the python equivalent.


I'm not completely sure about the name of the method, but the attributes are often called just 'attr' and git has 'git-check-attr'.

@jdavid
Copy link
Member

jdavid commented May 20, 2015

For a method or function I prefer to use verbs, it may be get_attr, very much like the libgit2 function it wraps git_attr_get.

Expose a method in the repository which allows querying an attribute for
a file and converts the result to the python equivalent.
@carlosmn
Copy link
Member Author

Done.

@jdavid jdavid merged commit 74b81bf into libgit2:master May 22, 2015
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.

2 participants