@@ -29,10 +29,15 @@ Many users found this counter-intuitive, given that "git commit -a"
2929and other commands operate on the entire tree regardless of where you
3030are. In this release, these commands give warning in such a case and
3131encourage the user to say "git add -u/-A ." instead when restricting
32- the scope to the current directory. At Git 2.0 (not *this* one), we
33- plan to change these commands without pathspec to operate on the
34- entire tree, and training your fingers to type "." will protect you
35- against the future change.
32+ the scope to the current directory.
33+
34+ At Git 2.0 (not *this* one), we plan to change these commands without
35+ pathspec to operate on the entire tree. Forming a habit to type "."
36+ when you mean to limit the command to the current working directory
37+ will protect you against the planned future change, and that is the
38+ whole point of the new message (there will be no configuration
39+ variable to squelch this warning---it goes against the "habit forming"
40+ objective).
3641
3742
3843Updates since v1.8.1
@@ -463,3 +468,20 @@ details).
463468
464469 * Scripts to test bash completion was inherently flaky as it was
465470 affected by whatever random things the user may have on $PATH.
471+
472+ * An element on GIT_CEILING_DIRECTORIES could be a "logical" pathname
473+ that uses a symbolic link to point at somewhere else (e.g. /home/me
474+ that points at /net/host/export/home/me, and the latter directory
475+ is automounted). Earlier when Git saw such a pathname e.g. /home/me
476+ on this environment variable, the "ceiling" mechanism did not take
477+ effect. With this release (the fix has also been merged to the
478+ v1.8.1.x maintenance series), elements on GIT_CEILING_DIRECTORIES
479+ are by default checked for such aliasing coming from symbolic
480+ links. As this needs to actually resolve symbolic links for each
481+ element on the GIT_CEILING_DIRECTORIES, you can disable this
482+ mechanism for some elements by listing them after an empty element
483+ on the GIT_CEILING_DIRECTORIES. e.g. Setting /home/me::/home/him to
484+ GIT_CEILING_DIRECTORIES makes Git resolve symbolic links in
485+ /home/me when checking if the current directory is under /home/me,
486+ but does not do so for /home/him.
487+ (merge 7ec30aa mh/maint-ceil-absolute later to maint).
0 commit comments