diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2005-10-06 14:10:39 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-06 14:10:39 -0700 |
commit | 12aac5de3dd73a1f9d03f81c5b0087e71794cee7 (patch) | |
tree | dcb0d6e045b829fcfbc64346763fd7d58c457f62 /git-ls-remote.sh | |
parent | a24e658649170c99fdcb4aaa41545679ad02f755 (diff) | |
download | git-12aac5de3dd73a1f9d03f81c5b0087e71794cee7.tar.gz |
Do not require ls-remote to be run inside a git repository.
The scripts work perfectly without a repository.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-ls-remote.sh')
-rwxr-xr-x | git-ls-remote.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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] <repository> <refs>..." |