ls-remote: define die() now we do not use git-sh-setup

Another interesting "property" is that from inside a git managed
tree, "git-ls-remote ." names the current repository no matter
how deep a subdirectory you are in.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-11-27 23:15:02 -08:00
parent 710b7098e2
commit 1abacf3b5b

View file

@ -6,6 +6,11 @@ usage () {
exit 1;
}
die () {
echo >&2 "$*"
exit 1
}
while case "$#" in 0) break;; esac
do
case "$1" in