Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7048663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:55:08+00:00 2026-05-28T02:55:08+00:00

How can I merge this submodule after having had the following warning? warning: Failed

  • 0

How can I merge this submodule after having had the following warning?

warning: Failed to merge submodule sites/all/modules/contrib/panelizer 
                (not checked out)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:55:09+00:00Added an answer on May 28, 2026 at 2:55 am

    That error message comes from submodule.c, specifically the merge_submodule() method:

    int merge_submodule(unsigned char result[20], const char *path,
                        const unsigned char base[20], const unsigned char a[20],
                        const unsigned char b[20], int search)
    {
      struct commit *commit_base, *commit_a, *commit_b;
      int parent_count;
      struct object_array merges;
    
      // [...]
    
      if (add_submodule_odb(path)) {
        MERGE_WARNING(path, "not checked out");
        return 0;
      }
    

    And the add_submodule_odb() method is checking for .git presence within said submodule.

    So, as Jefromi comments, you probably didn’t do a git submodule update as described in the Pro Git book.
    You should see the SO question “Git – easy way pull latest of all submodules” for more on how to get back the content of all your submodules.

    With a recent git, you can pull and update in one go:

    git alias update_submodules='git pull --recurse-submodules && git submodule update' 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this simple example I can't seems to get working : MERGE INTO
This question is related to How can I merge this data in MATLAB? how
Hi all i have the following merge sql script which works fine for a
I need to write a java application which can merge docx files. Any suggestions?
Git has a much-touted(?) octopus-merge capability that can merge many heads into one. But
EntityManager.merge() can insert new objects and update existing ones. Why would one want to
Merge can performs insert, update, or delete operations on a target table based on
I am working on a GUI (OpenG Builder). How can I merge the Save
var _sel1 = $('.red'); var _sel2 = $('.yellow'); How can I merge them into
Can anyone recommend a good XML diff and merge tool?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.