summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-gitattributes.txt
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-04 04:36:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-04 22:53:21 (GMT)
commitd932f4eb9fc88e93040635d291f6c195ea2e4ee3 (patch)
tree4f9399f476fdadb95b01c81e8c1bf86d0e114a0b /Documentation/technical/api-gitattributes.txt
parentca64d061e0ddf7fa1496a15c75eb5e730c4360e0 (diff)
downloadgit-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.zip
git-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.tar.gz
git-d932f4eb9fc88e93040635d291f6c195ea2e4ee3.tar.bz2
Rename git_checkattr() to git_check_attr()
Suggested by: Junio Hamano <gitster@pobox.com> 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.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/technical/api-gitattributes.txt b/Documentation/technical/api-gitattributes.txt
index 16ccb1c..ce363b6 100644
--- a/Documentation/technical/api-gitattributes.txt
+++ b/Documentation/technical/api-gitattributes.txt
@@ -19,7 +19,7 @@ Data Structure
`struct git_attr_check`::
This structure represents a set of attributes to check in a call
- to `git_checkattr()` function, and receives the results.
+ to `git_check_attr()` function, and receives the results.
Attribute Values
@@ -52,7 +52,7 @@ Querying Specific Attributes
attributes you would want to check. To populate this array, you would
need to define necessary attributes by calling `git_attr()` function.
-* Call `git_checkattr()` to check the attributes for the path.
+* Call `git_check_attr()` to check the attributes for the path.
* Inspect `git_attr_check` structure to see how each of the attribute in
the array is defined for the path.
@@ -78,13 +78,13 @@ static void setup_check(void)
}
------------
-. Call `git_checkattr()` with the prepared array of `struct git_attr_check`:
+. Call `git_check_attr()` with the prepared array of `struct git_attr_check`:
------------
const char *path;
setup_check();
- git_checkattr(path, ARRAY_SIZE(check), check);
+ git_check_attr(path, ARRAY_SIZE(check), check);
------------
. Act on `.value` member of the result, left in `check[]`: