<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hi Alex,<br></p><p>I have not tested this, but read this mail. Just to make sure: It's wanted (but annoying) behavior, that a submodule always points to a commit hash and not to a branch. So it's a common and wanted (but annoying) situation, that submodules fall in a detached head state. To avoid this, I'd recommend using pre-commit hook, to stop a commit, if there is not branch checked out. Otherwise the Oxygen Git Client would work diffently than the Git CLI client. This may lead to unexpected results. However Oxygen should warn, that the head is detached and ask the user to pick a branch, because that's what he always wants. But Oxygen should not checkout a random branch, because that would also lead to unexpected results. If something else is meant here, please excuse to make you read this text.<br></p><p>Cheers,<br>Stefan<br></p><p><br></p><blockquote type="cite">Alex Jitianu <alex_jitianu@sync.ro> hat am 18. September 2017 um 15:40 geschrieben:<br><br><p>Hi Tony,</p><p>Thank you for reporting this issue and I'm sorry for the headache...  We've released a new version that fixes this bug. You can go to <strong>Help->Check for add-ons updates...</strong> and follow the update procedure.</p><p>If you have any other feedback please do not hesitate to tell us.<br></p><pre class="ox-0b25353372-moz-signature">Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="ox-0b25353372-moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre><div class="ox-0b25353372-moz-cite-prefix">On 9/15/2017 12:52 PM, Tony Graham wrote:<br></div><blockquote type="cite">On 22/08/2017 09:36, Alex Jitianu wrote: <br><blockquote type="cite">Those of you that are using Git might be interested to know that <br> there is a new Git plugin for Oxygen [1]. <br></blockquote><br> I installed version 1.1.6, thank you. <br> <br> I have an oXygen project that has a Git repository with a submodule, <br> where the submodule has work done in it that has been committed and <br> pushed fairly often but the parent project hasn't been touched for a while. <br> <br> By some combination of events, when I configured the Git plugin to use <br> the Git repository, the submodule was switched to '(no branch)' and with <br> contents seemingly corresponding to the last time that the parent <br> project was committed. <br> <br> Quite apart from the confusion that this caused, it also lost some <br> changes in the submodule that had not yet been committed. <br> <br> Regards, <br> <br> <br> Tony Graham. <br></blockquote><br></blockquote><p><br> </p><blockquote type="cite">_______________________________________________<br>oXygen-user mailing list<br>oXygen-user@oxygenxml.com<br>https://www.oxygenxml.com/mailman/listinfo/oxygen-user<br></blockquote></body></html>