Corrupted git submodule in sage repo

113 views
Skip to first unread message

Kwankyu Lee

unread,
Feb 15, 2025, 6:10:59 PMFeb 15
to sage-devel
Hi

I noticed
----
$ cd sage
sage$ git submodule status
fatal: no submodule mapping found in .gitmodules for path 'subprojects/factory'
sage$ git status
On branch develop
Your branch is up to date with 'origin/develop'.

nothing to commit, working tree clean
----
I can fix the fatal error as follows.
----
sage$ git submodule deinit -f subprojects/factory
sage$ git status
On branch develop
Your branch is up to date with 'origin/develop'.

nothing to commit, working tree clean
----

But there is nothing to commit! How can we fix the repo?

By the way, what is this directory subprojects/factory for? Can we remove it?


Message has been deleted

Kwankyu Lee

unread,
Feb 15, 2025, 6:16:48 PMFeb 15
to sage-devel
I could trace the problem to 



Kwankyu Lee

unread,
Feb 17, 2025, 6:46:11 PMFeb 17
to sage-devel
But there is nothing to commit! How can we fix the repo?

By the way, what is this directory subprojects/factory for? Can we remove it?

Removing the directory would fix the problem. 

Kwankyu Lee

unread,
Feb 20, 2025, 12:14:28 AMFeb 20
to sage-devel
I remove the seemingly useless directory: subprojects/factory in the PR https://github.com/sagemath/sage/pull/39009

Reply all
Reply to author
Forward
0 new messages