Change By: Stephan Pauxberger (05/Nov/14 11:14 AM)
Description: Git plugin calls fetch with branch always with deleteBranchIfExists, which in case of CliGit results in the call of

{code}
launchCommand("checkout", "-f", ref);
{code}

which in turn throws away all local modifications and leaves a clean status.

in JGit,  however simply  setForce  ( re ) sets the reference of refs/heads/<branch> and  is also used, but  does  a normal checkout  not seem to work as expected. There are already comments in the code discussing this behviour ,  which leaves changes open  but they only point to checkout conflicts .
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to