git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Thomas Braun <thomas.braun@virtuell-zuhause.de>
To: Christopher Collins <chris@runtime.io>, git@vger.kernel.org
Subject: Re: bug: Directory replaced by submodule -> checkout fails
Date: Fri, 18 Oct 2019 14:02:29 +0200	[thread overview]
Message-ID: <f66f0587-4d61-71e8-fc87-3278f1023e3d@virtuell-zuhause.de> (raw)
In-Reply-To: <20191017230751.GC4049@pseudoephedrine.nightmare-heaven.no-ip.biz>

Am 18.10.2019 um 01:07 schrieb Christopher Collins:

Hi Christopher,

> ### Reproduce:>
> 
> git clone git@github.com:JuulLabs-OSS/mcuboot.git
> cd mcuboot
> git submodule init
> git submodule update
> git checkout ae01f153b11637feaedbc9d9042172fba2e080c0
> 
> ### Discussion:
> 
> In the above sequence, the last step (checkout) fails with this error:
> 
>     error: The following untracked working tree files would be overwritten by checkout:
>             ext/mbedtls/include/mbedtls/asn1.h
>             ext/mbedtls/include/mbedtls/bignum.h
>             ext/mbedtls/include/mbedtls/check_config.h
>             ext/mbedtls/include/mbedtls/config.h
>             ext/mbedtls/include/mbedtls/ecdsa.h
>             ext/mbedtls/include/mbedtls/ecp.h
>             ext/mbedtls/include/mbedtls/md.h
>             ext/mbedtls/include/mbedtls/oid.h
>             ext/mbedtls/include/mbedtls/pk.h
>             ext/mbedtls/include/mbedtls/platform.h
>             ext/mbedtls/include/mbedtls/platform_util.h
>             ext/mbedtls/include/mbedtls/threading.h
>     Please move or remove them before you switch branches.
>     Aborting
> 

This is a known bug unfortunately. See
https://public-inbox.org/git/CAGZ79kYTY6U0eNwvU0PcDyt_QXGyYGm5VkDvWLtuQgQG6BbtFA@mail.gmail.com/
for reference.


  reply	other threads:[~2019-10-18 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 23:07 bug: Directory replaced by submodule -> checkout fails Christopher Collins
2019-10-18 12:02 ` Thomas Braun [this message]
2019-10-18 16:30   ` Christopher Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f66f0587-4d61-71e8-fc87-3278f1023e3d@virtuell-zuhause.de \
    --to=thomas.braun@virtuell-zuhause.de \
    --cc=chris@runtime.io \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).