Merge branch 'nd/fetch-depth-is-broken'
commit2532d891a4aab003a5ce19f04509fd8549754485
authorJunio C Hamano <gitster@pobox.com>
Fri, 1 Feb 2013 20:39:24 +0000 (1 12:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Feb 2013 20:39:24 +0000 (1 12:39 -0800)
treedd423e056e45994a8af8ee7c9e174209ece868f2
parent9a6c84e6e9078b0ef4fd2c50b200e8552a28c6fa
parentcfb70e1fa506e79f337e716ed4813c6caa428644
Merge branch 'nd/fetch-depth-is-broken'

"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