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:
parent
710b7098e2
commit
1abacf3b5b
@ -6,6 +6,11 @@ usage () {
|
||||
exit 1;
|
||||
}
|
||||
|
||||
die () {
|
||||
echo >&2 "$*"
|
||||
exit 1
|
||||
}
|
||||
|
||||
while case "$#" in 0) break;; esac
|
||||
do
|
||||
case "$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user