OSDN Git Service

Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 20:23:12 +0000 (12:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 20:23:12 +0000 (12:23 -0800)
* maint:
  Replace filepattern with pathspec for consistency

1  2 
Documentation/git-add.txt
builtin/add.c
builtin/commit.c

@@@ -107,10 -107,9 +107,10 @@@ apply to the index. See EDITING PATCHE
        from the index if the corresponding files in the working tree
        have been removed.
  +
- If no <filepattern> is given, the current version of Git defaults to
 -If no <pathspec> is given, default to "."; in other words,
 -update all tracked files in the current directory and its
 -subdirectories.
++If no <pathspec> is given, the current version of Git defaults to
 +"."; in other words, update all tracked files in the current directory
 +and its subdirectories. This default will change in a future version
 +of Git, hence the form without <filepattern> should not be used.
  
  -A::
  --all::
diff --cc builtin/add.c
Simple merge
Simple merge