Merge branch 'nd/fetch-depth-is-broken' into next
commit70a5ca7973863a33f611340b2d866984c770a0f7
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 20:06:05 +0000 (15 12:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 20:06:05 +0000 (15 12:06 -0800)
treedb6428197c031025cb770d72cab12aec2aa2a48f
parent7542d2116578be5a49f82e7e8cceb7cb54eb116b
parentcfb70e1fa506e79f337e716ed4813c6caa428644
Merge branch 'nd/fetch-depth-is-broken' into next

"git fetch --depth" was broken in at least three ways.  The
resulting history was deeper than specified by one commit, it was
unclear how to wipe the shallowness of the repository with the
command, and documentation was misleading.

* nd/fetch-depth-is-broken:
  fetch: elaborate --depth action
  upload-pack: fix off-by-one depth calculation in shallow clone
  fetch: add --unshallow for turning shallow repo into complete one
commit.h
upload-pack.c