From 12aac5de3dd73a1f9d03f81c5b0087e71794cee7 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Thu, 6 Oct 2005 14:10:39 -0700 Subject: Do not require ls-remote to be run inside a git repository. The scripts work perfectly without a repository. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- git-ls-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-ls-remote.sh') diff --git a/git-ls-remote.sh b/git-ls-remote.sh index bfbd5a4d5a..f0f0b07f6f 100755 --- a/git-ls-remote.sh +++ b/git-ls-remote.sh @@ -1,6 +1,6 @@ #!/bin/sh # -. git-sh-setup || die "Not a git archive" +. git-sh-setup usage () { echo >&2 "usage: $0 [--heads] [--tags] ..." -- cgit v1.2.3