@@ -431,14 +431,14 @@ static struct match_attr *parse_attr_line(const char *line, const char *src,
431
431
* Like info/exclude and .gitignore, the attribute information can
432
432
* come from many places.
433
433
*
434
- * (1) .gitattribute file of the same directory;
435
- * (2) .gitattribute file of the parent directory if (1) does not have
434
+ * (1) .gitattributes file of the same directory;
435
+ * (2) .gitattributes file of the parent directory if (1) does not have
436
436
* any match; this goes recursively upwards, just like .gitignore.
437
437
* (3) $GIT_DIR/info/attributes, which overrides both of the above.
438
438
*
439
439
* In the same file, later entries override the earlier match, so in the
440
440
* global list, we would have entries from info/attributes the earliest
441
- * (reading the file from top to bottom), .gitattribute of the root
441
+ * (reading the file from top to bottom), .gitattributes of the root
442
442
* directory (again, reading the file from top to bottom) down to the
443
443
* current directory, and then scan the list backwards to find the first match.
444
444
* This is exactly the same as what is_excluded() does in dir.c to deal with
@@ -899,7 +899,7 @@ static void prepare_attr_stack(const struct index_state *istate,
899
899
* set of attribute definitions, followed by the contents
900
900
* of $(prefix)/etc/gitattributes and a file specified by
901
901
* core.attributesfile. Then, contents from
902
- * .gitattribute files from directories closer to the
902
+ * .gitattributes files from directories closer to the
903
903
* root to the ones in deeper directories are pushed
904
904
* to the stack. Finally, at the very top of the stack
905
905
* we always keep the contents of $GIT_DIR/info/attributes.
0 commit comments