On Thu, Oct 19, 2017 at 09:14:12AM +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> > I just noticed that I now get the following warning message when I
> > change to an older git branch:
> > 
> > warning: unable to rmdir ui/keycodemapdb: Directory not empty
> > 
> > ... this is kind of ugly, is there a way to fix this?
> 
> Hmm, no good idea, other than just rebasing the branch to latest
> master.  It's one of the issues with submodules.
> 
> Related issue shows up if you go back to an older branch after a
> firmware update.  git shows the firmware submodule as modified then and
> you have to take care that you don't revert the change by accident. 
> Which can easily happen with "git commit -a" ...

If you do a 'make' before committing though the configure code will take
care to re-sync submodules, helping to avoid this problem going forward.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Reply via email to