I have an old code that has sub-modules. When I ran this command to update the submodules, I am getting the error that one of the submodules are not able to find the requested commit:
$ git submodule update --init --recursive
fatal: remote error: upload-pack: not our ref 1e07d0ce57c1bd5cf2e9b279deca2e959de88135
fatal: the remote end hung up unexpectedly
Fetched in submodule path 'linux', but it did not contain 1e07d0ce57c1bd5cf2e9b279deca2e959de88135. Direct fetching of that commit failed.
How can I find which submodule is this error coming from and how can I change the commit to something that can work (possibly some newer version of that commit which I believe was removed from the sub-module repository.
I believe this is related to the Linux kernel, as it is pointing to Linux but I am not sure. From what I could find the code was using Linux Kernal5.12.19 which is not supported and hence maybe it is already removed form the Linux kernel repository.