summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-gitattributes.txt
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-04 04:36:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-04 22:53:16 (GMT)
commit352404ac4ccab144cd866b1f24c90b8f29ca33c2 (patch)
tree26834953b4e6c72abaa9e1e6d4e1da42b10a191d /Documentation/technical/api-gitattributes.txt
parent09d7dd7ad62fef60fc223fa74eb04c8dc783c2f6 (diff)
downloadgit-352404ac4ccab144cd866b1f24c90b8f29ca33c2.zip
git-352404ac4ccab144cd866b1f24c90b8f29ca33c2.tar.gz
git-352404ac4ccab144cd866b1f24c90b8f29ca33c2.tar.bz2
Provide access to the name attribute of git_attr
It will be present in any likely future reimplementation, and its availability simplifies other code. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-gitattributes.txt')
-rw-r--r--Documentation/technical/api-gitattributes.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/technical/api-gitattributes.txt b/Documentation/technical/api-gitattributes.txt
index 916720f..ab3a84d 100644
--- a/Documentation/technical/api-gitattributes.txt
+++ b/Documentation/technical/api-gitattributes.txt
@@ -13,7 +13,8 @@ Data Structure
An attribute is an opaque object that is identified by its name.
Pass the name to `git_attr()` function to obtain the object of
this type. The internal representation of this structure is
- of no interest to the calling programs.
+ of no interest to the calling programs. The name of the
+ attribute can be retrieved by calling `git_attr_name()`.
`struct git_attr_check`::