diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | connect.c | 1 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | git-clone.sh | 6 | ||||
-rwxr-xr-x | git-fetch.sh | 6 |
5 files changed, 18 insertions, 3 deletions
@@ -48,7 +48,7 @@ # DEFINES += -DUSE_STDEV -GIT_VERSION = 0.99.8c +GIT_VERSION = 0.99.8d CFLAGS = -g -O2 -Wall ALL_CFLAGS = $(CFLAGS) $(PLATFORM_DEFINES) $(DEFINES) @@ -1,6 +1,7 @@ #include "cache.h" #include "pkt-line.h" #include "quote.h" +#include "refs.h" #include <sys/wait.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/debian/changelog b/debian/changelog index abd8ff4514..42332b6da8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +git-core (0.99.8d-0) unstable; urgency=low + + * GIT 0.99.8d + + -- Junio C Hamano <junkio@cox.net> Sat, 15 Oct 2005 17:22:58 -0700 + git-core (0.99.8c-0) unstable; urgency=low * GIT 0.99.8c diff --git a/git-clone.sh b/git-clone.sh index 71431319c0..78c83e84c2 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -53,7 +53,11 @@ Perhaps git-update-server-info needs to be run there?" while read sha1 refname do name=`expr "$refname" : 'refs/\(.*\)'` && - git-http-fetch -v -a -w "$name" "$name" "$1/" || exit 1 + case "$name" in + *^{}) ;; + *) + git-http-fetch -v -a -w "$name" "$name" "$1/" || exit 1 ;; + esac done <"$clone_tmp/refs" rm -fr "$clone_tmp" } diff --git a/git-fetch.sh b/git-fetch.sh index d3988660ff..8fb6fba145 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -170,7 +170,11 @@ esac reflist=$(get_remote_refs_for_fetch "$@") if test "$tags" then - 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 then # remote URL plus explicit refspecs; we need to merge them. |