Skip to content

Commit ce209d0

Browse files
committed
RelNotes 1.8.2: push-simple will not be in effect in this release
Also migration path for the default behaviour of "git add -u/-A" run in a subdirectory is worth mentioning. Both pointed out by Matthieu Moy. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 31e6a4e commit ce209d0

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Documentation/RelNotes/1.8.2.txt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Git v1.8.2 Release Notes
44
Backward compatibility notes
55
----------------------------
66

7-
In the upcoming major release (tentatively called 1.8.2), we will
8-
change the behavior of the "git push" command.
7+
In the next major release Git 2.0 (not *this* one), we will change the
8+
behavior of the "git push" command.
99

1010
When "git push [$there]" does not say what to push, we have used the
1111
traditional "matching" semantics so far (all your branches were sent
@@ -22,6 +22,18 @@ that the old tag v1.2.3 points at. This was found to be error prone
2222
and starting with this release, any attempt to update an existing
2323
ref under refs/tags/ hierarchy will fail, without "--force".
2424

25+
When "git add -u" and "git add -A", that does not specify what paths
26+
to add on the command line, is run from inside a subdirectory, the
27+
scope of the operation has always been limited to the subirectory.
28+
Many users found this counter-intuitive, given that "git commit -a"
29+
and other commands operate on the entire tree regardless of where you
30+
are. In this release, these commands give warning in such a case and
31+
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.
36+
2537

2638
Updates since v1.8.1
2739
--------------------

0 commit comments

Comments
 (0)