Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use GIT_EXEC_PATH explicitly for initial git-init-db in tests.
[gitweb.git]
/
git-add.sh
diff --git
a/git-add.sh
b/git-add.sh
index b5fe46aa20865d6785390fd22406d32b00a77845..fdec86d1a41af847f9d737a2c058e2d2027f32fe 100755
(executable)
--- a/
git-add.sh
+++ b/
git-add.sh
@@
-1,5
+1,10
@@
#!/bin/sh
+die () {
+ echo >&2 "$*"
+ exit 1
+}
+
usage() {
die "usage: git add [-n] [-v] <file>..."
}