Merge branch 'maint'

* maint:
  GIT 1.5.1.2
  perl: install private Error.pm if the site version is older than our own
  git-clone: fix dumb protocol transport to clone from pack-pruned ref
maint
Junio C Hamano 2007-04-21 17:16:48 -07:00
commit e8760cde01
4 changed files with 23 additions and 10 deletions

View File

@ -1,4 +1,4 @@
GIT v1.5.1.2 Release Notes (draft) GIT v1.5.1.2 Release Notes
========================== ==========================


Fixes since v1.5.1.1 Fixes since v1.5.1.1
@ -6,6 +6,11 @@ Fixes since v1.5.1.1


* Bugfixes * Bugfixes


- "git clone" over http from a repository that has lost the
loose refs by running "git pack-refs" were broken (a code to
deal with this was added to "git fetch" in v1.5.0, but it
was missing from "git clone").

- "git diff a/ b/" incorrectly fell in "diff between two - "git diff a/ b/" incorrectly fell in "diff between two
filesystem objects" codepath, when the user most likely filesystem objects" codepath, when the user most likely
wanted to limit the extent of output to two tracked wanted to limit the extent of output to two tracked
@ -24,14 +29,22 @@ Fixes since v1.5.1.1
- git-blame on a very long working tree path had buffer - git-blame on a very long working tree path had buffer
overrun problem. overrun problem.


- git-apply did not like to be fed two patches in a row that created
and then modified the same file.

- git-svn was confused when a non-project was stored directly under
trunk/, branches/ and tags/.

- git-svn wants the Error.pm module that was at least as new
as what we ship as part of git; install ours in our private
installation location if the one on the system is older.

- An earlier update to command line integer parameter parser was
botched and made 'update-index --cacheinfo' completely useless.


* Documentation updates * Documentation updates


- Various documentation updates from J. Bruce Fields, Frank - Various documentation updates from J. Bruce Fields, Frank
Lichtenheld, Alex Riesen and others. Andrew Ruder started a Lichtenheld, Alex Riesen and others. Andrew Ruder started a
war on undocumented options. war on undocumented options.

---
exec >/var/tmp/1
O=v1.5.1.1-31-g0220f1e
echo O=`git describe refs/heads/maint`
git shortlog --no-merges $O..refs/heads/maint

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh


GVF=GIT-VERSION-FILE GVF=GIT-VERSION-FILE
DEF_VER=v1.5.1.1.GIT DEF_VER=v1.5.1.2.GIT


LF=' LF='
' '

View File

@ -60,7 +60,7 @@ Perhaps git-update-server-info needs to be run there?"
else else
tname=$name tname=$name
fi fi
git-http-fetch $v -a -w "$tname" "$name" "$1" || exit 1 git-http-fetch $v -a -w "$tname" "$sha1" "$1" || exit 1
done <"$clone_tmp/refs" done <"$clone_tmp/refs"
rm -fr "$clone_tmp" rm -fr "$clone_tmp"
http_fetch "$1/HEAD" "$GIT_DIR/REMOTE_HEAD" || http_fetch "$1/HEAD" "$GIT_DIR/REMOTE_HEAD" ||

View File

@ -13,7 +13,7 @@ my %pm = ('Git.pm' => '$(INST_LIBDIR)/Git.pm');
# We come with our own bundled Error.pm. It's not in the set of default # We come with our own bundled Error.pm. It's not in the set of default
# Perl modules so install it if it's not available on the system yet. # Perl modules so install it if it's not available on the system yet.
eval { require Error }; eval { require Error };
if ($@) { if ($@ || $Error::VERSION < 0.15009) {
$pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm'; $pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm';
} }