Possible bug with checkout and submodules

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

 



Hi,

I may have found a bug in Git but I'm not sure if it's intentional or not. I

checked out to a new branch to test a PR on my repo, and the PR added a

submodule. I init'ed and updated the submodule, and when I was done testing, I

went back to my main branch. However, it did not remove the submodule, and

produced this message:


```

$ git checkout main

warning: unable to rmdir 'glfw': Directory not empty

Switched to branch 'main'

$

```


A friend of mine has managed to reproduce this behavior. We believe the expected

outcome is to remove the submodule folder, but this does not seem to happen. Is

this intentional?


Best,



Adam Hutchings



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux