mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
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>
This commit is contained in:
parent
a24e658649
commit
12aac5de3d
2 changed files with 2 additions and 2 deletions
|
@ -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>..."
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
. git-sh-setup || die "Not a git archive"
|
||||
. git-sh-setup
|
||||
|
||||
get_data_source () {
|
||||
case "$1" in
|
||||
|
|
Loading…
Reference in a new issue