Manuscript (Case [Issue]20831) Kernel - Bad gitlocal: reference causes infinite loop and out of memory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]20831) Kernel - Bad gitlocal: reference causes infinite loop and out of memory

Pharo Issue Tracker
Manuscript Notification
avatar
Alistair Grant opened Case 20831: Bad gitlocal: reference causes infinite loop and out of memory and assigned it to Everyone:
Bug in Project:  Kernel: 1. Pharo Image  •  You are subscribed to this case
Attempting to load a project with metacello and a gitlocal: reference that isn't actually a git repository (not bare repository) causes an infinite loop and ultimately out of memory error.

The error is in IceGitLocalRepositoryType>>splitRootAndSubdirectoryFromLocation which tests for root isNil, instead of root isRoot (the parent of the root directory is the root directory, not nil).

I'll submit a PR, but it may take a while due to travel.

Pharo 7.0
Iceberg 0.6.4
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker