0

I tried setting my 2 TB hard drive partition into a NTFS file system, per an answer to an earlier question of mine. I moved a heap of my git repos onto it. Some of my repos have submodules, and unfortunately I noticed that submodule initializing a repo on a NTFS caused an error:

error: Server does not allow request for unadvertised object 7aebbf6543420855b55e72371c654b3b492314e2                                                                                                                                                                         
Fetched in submodule path 'common-scripts', but it did not contain 7aebbf6543420855b55e72371c654b3b492314e2. Direct fetching of that                                                                                                                                          commit failed. 

what I decided to do was remove the repo (with sudo rm -rf) and git clone --recursive, both parts of that failed. Removing the repo failed with:

rm: cannot remove 'gentoo-scripts/.git/modules/Shell/common-scripts/objects/pack': Directory not empty

if I move gentoo-scripts to .g and git clone gentoo-scripts --recursive I get:

Cloning into 'gentoo-scripts'...
remote: Counting objects: 2543,
remote: Compressing objects: 100% (70/70), done.
remote: Total 2543 (delta 60), reused 61 (delta 27), pack-reused 2446
Receiving objects: 100% (2543/2543), 339.57 KiB | 559.00 KiB/s, done.
Resolving deltas: 100% (1674/1674), done.
Submodule 'Shell/common-scripts' (https://github.com/fusion809/common-scripts) registere
Cloning into '/data/GitHub/mine/scripts/gentoo-scripts/Shell/common-scripts'...
remote: Counting objects: 2783, done.        
remote: Total 2783 (delta 0), reused 0 (delta 0), pack-reused 2783        
Receiving objects: 100% (2783/2783), 407.89 KiB | 529.00 KiB/s, done.
Resolving deltas: 100% (1728/1728), done.
error: Server does not allow request for unadvertised object 7aebbf6543420855b55e72371c6
Fetched in submodule path 'Shell/common-scripts', but it did not contain 7aebbf654342085 that commit failed.

This is from Arch Linux if OS matters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.