path: root/
diff options
authorJunio C Hamano <>2005-10-16 00:30:15 (GMT)
committerJunio C Hamano <>2005-10-16 01:10:02 (GMT)
commita2239b79e554bab92abe47d8568cbbfe5c77ce85 (patch)
treec1616ebd076267968c230b9d4ce16fd0c1ee7ece /
parent4baf5dda9e30ddc472bec444af7a572e5d3cb467 (diff)
GIT v0.99.8dv0.99.8d
Contains the following changes since v0.99.8c. Johannes Schindelin: Teach git-status about spaces in file names also on MacOSX t5400-send-pack relies on a working cpio Jonas Fonseca: quote all paths Junio C Hamano: Also force LC_ALL in test scripts. OpenBSD needs the strcasestr replacement. git-check-ref-format: reject funny ref names. Refuse to create funny refs in clone-pack, git-fetch and receive-pack. Ignore funny refname sent from remote Introduce notation "ref^{type}". Martin Langhoff: cvsimport: don't pass --cvs-direct if user options contradict us Ralf Baechle: rsh.c: typo fix Note that "funny ref" bits are not strictly fixes but rather backport from the "master" branch. They will prevent refs and heads with funny names from being created. In addition, what is in the master branch will start feeding the clients unwrapped tag information to help Martin's findtags and possibly later Cogito. These backported "funny ref" changes are to prevent clients on the "maint" branch from getting confused when talking with newer git-upload-pack and when reading from info/refs file prepared with newer git-update-server-info. Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
1 files changed, 5 insertions, 1 deletions
diff --git a/ b/
index d398866..8fb6fba 100755
--- a/
+++ b/
@@ -170,7 +170,11 @@ esac
reflist=$(get_remote_refs_for_fetch "$@")
if test "$tags"
- taglist=$(git-ls-remote --tags "$remote" | awk '{ print "."$2":"$2 }')
+ taglist=$(git-ls-remote --tags "$remote" |
+ sed -e '
+ /\^{}$/d
+ s/^[^ ]* //
+ s/.*/&:&/')
if test "$#" -gt 1
# remote URL plus explicit refspecs; we need to merge them.