mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 16:52:39 +00:00
Export git_attr_value
Commit 0c9eacf3d2
introduced the function
git_attr_value and switched the GIT_ATTR_* macros to use it, but
attempting to use that function leads to a linker error (undefined
reference to `git_attr_value'). Export git_attr_value so programs can
actually call it.
This commit is contained in:
parent
738837bdaa
commit
5389005d93
@ -96,7 +96,7 @@ typedef enum {
|
|||||||
* @param attr The attribute
|
* @param attr The attribute
|
||||||
* @return the value type for the attribute
|
* @return the value type for the attribute
|
||||||
*/
|
*/
|
||||||
git_attr_t git_attr_value(const char *attr);
|
GIT_EXTERN(git_attr_t) git_attr_value(const char *attr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check attribute flags: Reading values from index and working directory.
|
* Check attribute flags: Reading values from index and working directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user