Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] [jgit-dev] Skip spurious checkouts?

On 03/12/2012 02:46 PM, Markus Duft wrote:
> On 03/12/2012 02:43 PM, Markus Duft wrote:
>> Hi!
>>
>> Out of frustration (again :)), i have created a small-ish (possibly incomplete and pretty untested) "improvement", and wanted to hear how you all feel about this:
>>
>> i want to skip all the work that is done when checking out a revision (or create a new branch and check it out), if the underlying Rev is the same as the current HEAD rev. Also I'm skipping the refresh of all the projects (it _hurts_ with >600 projects!). Is there something that i don't see and that would prevent me from doing so?
>>
>> It does work to switch and create branches with this change, but thats all i tested so far - going to run a few tests now... :D
> 
> Hah, and got the first failures for the jgit tests (pointing out obvious problems in my approach) - however i still want to hear opinions, if you have some ;)

My apologies - my own fault, as i accidentally kept the negative test in the code before pushing :S Sorry for the noise - the current patchset on gerrit passes all tests for me now.

Regards,
Markus

> 
> Regards,
> Markus
> 
>>
>> The related changes are [1] and [2].
>>
>> [1] https://git.eclipse.org/r/#/c/5323/
>> [2] https://git.eclipse.org/r/#/c/5322/
>>
>> Regards, Thanks for opinions :)
>> Markus
>> _______________________________________________
>> jgit-dev mailing list
>> jgit-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jgit-dev
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev


Back to the top