shallow clone failed git pull

4 messages, 2 authors, 2016-08-11 · open the first message on its own page

shallow clone failed git pull

From: Aneesh Kumar K.V <hidden>
Date: 2016-08-11 20:34:11

I was using the pu branch i tried to update the git repository and i got this error.

alk 9e950efa20dc8037c27509666cba6999da9368e8
walk 3b6a792f6ace33584897d1af08630c9acc0ce221
* refs/heads/origin: fast forward to branch 'master' of http://repo.or.cz/r/linux-2.6
  old..new: 3d42488..088406b
Auto-following refs/tags/v2.6.19-rc5
shallow clone with http not supported


This repository was not cloned with -depth. I only updated the git tools using the pu branch

Re: [PATCH] FIX git pull failure with shallow clone changes

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:38:58

Hi,

I overlooked that the http transport uses the variable "depth" already, 
which your patch fixes.

Acked-by: Johannes Schindelin <redacted>

Ciao,
Dscho

[PATCH] FIX git pull failure with shallow clone changes

From: Aneesh Kumar K.V <hidden>
Date: 2016-08-11 20:04:11


Re: shallow clone failed git pull

From: Aneesh Kumar K.V <hidden>
Date: 2016-08-11 20:25:02

Aneesh Kumar K.V wrote:
I was using the pu branch i tried to update the git repository and i got 
this error.

alk 9e950efa20dc8037c27509666cba6999da9368e8
walk 3b6a792f6ace33584897d1af08630c9acc0ce221
* refs/heads/origin: fast forward to branch 'master' of 
http://repo.or.cz/r/linux-2.6
 old..new: 3d42488..088406b
Auto-following refs/tags/v2.6.19-rc5
shallow clone with http not supported


This repository was not cloned with -depth. I only updated the git tools 
using the pu branch
The attached patch gets it working. I am not sure whether the fix is the right one. I 
am a little bit confused regarding the $depth being incremented. 

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help