diff options
author | freku045@student.liu.se <freku045@student.liu.se> | 2005-12-13 23:30:31 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 02:53:43 -0800 |
commit | 806f36d4d7caf75b6d3e098cb0353d85d3477c7d (patch) | |
tree | 7925350d3228cd00602abb91fe8712c236ddb2bb /git-add.sh | |
parent | aa9dc7afd2fc40466b430b35fc5c82d3c820cb26 (diff) | |
download | git-806f36d4d7caf75b6d3e098cb0353d85d3477c7d.tar.gz |
Trivial usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-add.sh')
-rwxr-xr-x | git-add.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/git-add.sh b/git-add.sh index fdec86d1a4..f719b4b1a8 100755 --- a/git-add.sh +++ b/git-add.sh @@ -1,13 +1,8 @@ #!/bin/sh -die () { - echo >&2 "$*" - exit 1 -} - -usage() { - die "usage: git add [-n] [-v] <file>..." -} +USAGE='[-n] [-v] <file>...' +SUBDIRECTORY_OK='Yes' +. git-sh-setup show_only= verbose= @@ -29,8 +24,6 @@ while : ; do shift done -GIT_DIR=$(git-rev-parse --git-dir) || exit - if test -f "$GIT_DIR/info/exclude" then git-ls-files -z \ |