Merge branch 'jk/peel-ref'
commit315ea32f1bd57b884f654f6f8a965af9b5e4d8ee
authorJeff King <peff@peff.net>
Thu, 25 Oct 2012 10:42:27 +0000 (25 06:42 -0400)
committerJeff King <peff@peff.net>
Thu, 25 Oct 2012 10:42:27 +0000 (25 06:42 -0400)
tree757e5c6df4daf22d2864bdf9c20b896d08b285f0
parent6a83a6d57a61e7c9ebfb6741965f7c0bad03899e
parent435c83323713066723e4194cd89c31bbec7011a2
Merge branch 'jk/peel-ref'

Speeds up "git upload-pack" (what is invoked by "git fetch" on the
other side of the connection) by reducing the cost to advertise the
branches and tags that are available in the repository.

* jk/peel-ref:
  upload-pack: use peel_ref for ref advertisements
  peel_ref: check object type before loading
  peel_ref: do not return a null sha1
  peel_ref: use faster deref_tag_noverify
builtin/describe.c
builtin/pack-objects.c
builtin/show-ref.c