Skip to content

Commit

Permalink
Merge branch 'mm/add-u-A-finishing-touches'
Browse files Browse the repository at this point in the history
* mm/add-u-A-finishing-touches:
  add: update pathless 'add [-u|-A]' warning to reflect change of plan
  • Loading branch information
Junio C Hamano committed Mar 11, 2013
2 parents ca8df3d + c6898eb commit c75aa63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/add.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ static void warn_pathless_add(const char *option_name, const char *short_name) {
* this is not the original behavior and can't be
* changed until users trained themselves not to type
* "git add -u" or "git add -A". For now, we warn and
* keep the old behavior. Later, this warning can be
* turned into a die(...), and eventually we may
* reallow the command with a new behavior.
* keep the old behavior. Later, the behavior can be changed
* to tree-wide, keeping the warning for a while, and
* eventually we can drop the warning.
*/
warning(_("The behavior of 'git add %s (or %s)' with no path argument from a\n"
"subdirectory of the tree will change in Git 2.0 and should not be used anymore.\n"
Expand Down

0 comments on commit c75aa63

Please sign in to comment.