From: Junio C Hamano Date: Tue, 24 Apr 2007 20:46:02 +0000 (-0700) Subject: gitattributes documentation: clarify overriding X-Git-Tag: v1.5.2-rc1~33 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b9d14ffbf1f42eb80231d0378dd2f019a162c054;p=git.git gitattributes documentation: clarify overriding Signed-off-by: Junio C Hamano --- diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt index d2edb9b14..857d55a40 100644 --- a/Documentation/gitattributes.txt +++ b/Documentation/gitattributes.txt @@ -49,10 +49,12 @@ Set to a value:: Unspecified:: No glob pattern matches the path, and nothing says if - the path has or does not have the attribute. + the path has or does not have the attribute, the + attribute for the path is said to be Unspecified. When more than one glob pattern matches the path, a later line -overrides an earlier line. +overrides an earlier line. This overriding is done per +attribute. When deciding what attributes are assigned to a path, git consults `$GIT_DIR/info/attributes` file (which has the highest @@ -215,7 +217,7 @@ String:: merge driver. The built-in 3-way merge driver can be explicitly specified by asking for "text" driver; the built-in "take the current branch" driver can be - requested by "binary". + requested with "binary". Defining a custom merge driver