projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation/git-svnimport: document -T and -t switches correctly
[git.git]
/
git-add.sh
diff --git
a/git-add.sh
b/git-add.sh
index
b5fe46a
..
f719b4b
100755
(executable)
--- a/
git-add.sh
+++ b/
git-add.sh
@@
-1,8
+1,8
@@
#!/bin/sh
#!/bin/sh
-usage() {
- die "usage: git add [-n] [-v] <file>..."
-}
+USAGE='[-n] [-v] <file>...'
+SUBDIRECTORY_OK='Yes'
+. git-sh-setup
show_only=
verbose=
show_only=
verbose=
@@
-24,8
+24,6
@@
while : ; do
shift
done
shift
done
-GIT_DIR=$(git-rev-parse --git-dir) || exit
-
if test -f "$GIT_DIR/info/exclude"
then
git-ls-files -z \
if test -f "$GIT_DIR/info/exclude"
then
git-ls-files -z \