Skip to content

Commit c75aa63

Browse files
committed
Merge branch 'mm/add-u-A-finishing-touches'
* mm/add-u-A-finishing-touches: add: update pathless 'add [-u|-A]' warning to reflect change of plan
2 parents ca8df3d + c6898eb commit c75aa63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/add.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ static void warn_pathless_add(const char *option_name, const char *short_name) {
328328
* this is not the original behavior and can't be
329329
* changed until users trained themselves not to type
330330
* "git add -u" or "git add -A". For now, we warn and
331-
* keep the old behavior. Later, this warning can be
332-
* turned into a die(...), and eventually we may
333-
* reallow the command with a new behavior.
331+
* keep the old behavior. Later, the behavior can be changed
332+
* to tree-wide, keeping the warning for a while, and
333+
* eventually we can drop the warning.
334334
*/
335335
warning(_("The behavior of 'git add %s (or %s)' with no path argument from a\n"
336336
"subdirectory of the tree will change in Git 2.0 and should not be used anymore.\n"

0 commit comments

Comments
 (0)