summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a24e658)
raw | patch | inline | side by side (parent: a24e658)
author | Alex Riesen <raa.lkml@gmail.com> | |
Thu, 6 Oct 2005 21:10:39 +0000 (14:10 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Oct 2005 21:10:39 +0000 (14:10 -0700) |
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>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-ls-remote.sh | patch | blob | history | |
git-parse-remote.sh | patch | blob | history |
diff --git a/git-ls-remote.sh b/git-ls-remote.sh
index bfbd5a4d5a1bb35f9f52e3a495d1830b76078a7c..f0f0b07f6f8c85219104303d65dabbba80fd3098 100755 (executable)
--- a/git-ls-remote.sh
+++ b/git-ls-remote.sh
#!/bin/sh
#
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
usage () {
echo >&2 "usage: $0 [--heads] [--tags] <repository> <refs>..."
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 4d8a572a9903179494c7cc4f8a72729a47f1c12b..5e75e15a7e57ce0783ec4a9731e0c65563fd1198 100755 (executable)
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
#!/bin/sh
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
get_data_source () {
case "$1" in