Skip to content

Commit 4d0d0c3

Browse files
committed
Git 1.8.2-rc2
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 06d67b8 commit 4d0d0c3

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

Documentation/RelNotes/1.8.2.txt

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ Many users found this counter-intuitive, given that "git commit -a"
2929
and other commands operate on the entire tree regardless of where you
3030
are. In this release, these commands give warning in such a case and
3131
encourage 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

3843
Updates 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).

GIT-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
GVF=GIT-VERSION-FILE
4-
DEF_VER=v1.8.2-rc1
4+
DEF_VER=v1.8.2-rc2
55

66
LF='
77
'

0 commit comments

Comments
 (0)