Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2005-10-07 01:10:39 +0400
committerJunio C Hamano <junkio@cox.net>2005-10-07 01:10:39 +0400
commit12aac5de3dd73a1f9d03f81c5b0087e71794cee7 (patch)
treedcb0d6e045b829fcfbc64346763fd7d58c457f62 /git-parse-remote.sh
parenta24e658649170c99fdcb4aaa41545679ad02f755 (diff)
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-parse-remote.sh')
-rwxr-xr-xgit-parse-remote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 4d8a572a99..5e75e15a7e 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
get_data_source () {
case "$1" in