[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] trying to update sf-wiki page fails



I tried to add the following to the git cheatsheet, but got an error - any clue what this is?

Internal error

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.


..................................................................

== Problems with submodules ==

When switching branches and doing a submodule update (in SC: nova-simd and nova-tt"), git sometimes messes up the submodule status without you having touched it. It will post something like:

     On branch master
     Changes not staged for commit:
       (use "git add <file>..." to update what will be committed)
       (use "git checkout -- <file>..." to discard changes in working directory)
       (commit or discard the untracked or modified content in submodules)
    
    	modified:   external_libraries/nova-tt (untracked content)


This can be remedied by deleting the file and updatind the submodules again (given you haven't consciously made any changes, of course, which you'd lose!):

    rm -r external_libraries/nova-tt
    git submodule init
    git submodule update


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/