path: root/attr.c
diff options
authorHeba Waly <>2019-11-17 21:04:47 (GMT)
committerJunio C Hamano <>2019-11-18 06:21:28 (GMT)
commit3a1b3415d9330cbe3d3cce125b971dff96d0aa4c (patch)
tree9d895e4fb5b2b6eb43716997dcaea9137bedaad4 /attr.c
parent126c1ccefbeec2b3ba368146f057054352484ef4 (diff)
attr: move doc to attr.h
Move the documentation from Documentation/technical/api-gitattributes.txt to attr.h as it's easier for the developers to find the usage information beside the code instead of looking for it in another doc file. Also documentation/technical/api-gitattributes.txt is removed because the information it has is now redundant and it'll be hard to keep it up to date and synchronized with the documentation in the header file. Signed-off-by: Heba Waly <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'attr.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/attr.c b/attr.c
index 11f19b5..a826b2e 100644
--- a/attr.c
+++ b/attr.c
@@ -1,7 +1,6 @@
* Handle git attributes. See gitattributes(5) for a description of
- * the file syntax, and Documentation/technical/api-gitattributes.txt
- * for a description of the API.
+ * the file syntax, and attr.h for a description of the API.
* One basic design decision here is that we are not going to support
* an insanely large number of attributes.