Message: previous - next
Month: February 2012

Why doesn't respect '--depth 1'

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 23 Feb 2012 16:23:31 -0600
Tim, all,

  I am working on build scripts that will individually pull or update the source
by pulling code from the git tree. To make this more efficient for building
individual modules (and reduce unneeded bandwidth), it is recommended to use the
git clone form:

git clone --depth 1

  But refuses to allow '--depth 1' to be
used in the git clone. Anybody know why? The error received is:

Cloning into 'libart-lgpl'...
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly

  It works fine without the --depth limitation. What say the 'git' masters?

David C. Rankin, J.D.,P.E.