Le 25/10/2015 22:04, Dimitris Chloupis a écrit :
because I just downloaded a fresh pharo 5 image and installed gitfiletree from catalog browser and i try to add a newly initialised git repo and i am getting this
Well, normally no since I'm using it on Pharo5. But I may have missed the last round of updates (haven't rebuilt since two or three days ago). Can you give me the output of $ git branch in your repository, if there is nothing confidential? The error indicates that GitFileTree doesn't find a current/active branch. Thierry
Array(Object)>>errorSubscriptBounds: Array(Object)>>at: MCFileTreeGitRepository>>currentBranch MCFileTreeGitRepository>>branch MCFileTreeGitRepository>>description [ :ea | ea description ] in MCWorkingCopyBrowser>>repositoryList in Block: [ :ea | ea description ] Array(SequenceableCollection)>>collect: MCWorkingCopyBrowser>>repositoryList PluggableIconListMorph>>getList PluggableIconListMorph(PluggableListMorph)>>getListSize LazyMorphListMorph(LazyListMorph)>>getListSize LazyMorphListMorph>>listChanged PluggableIconListMorph(PluggableListMorph)>>updateList PluggableIconListMorph(PluggableListMorph)>>update: [ :aDependent | aDependent update: aParameter ] in MCWorkingCopyBrowser(Object)>>changed: in Block: [ :aDependent | aDependent update: aParameter ] DependentsArray>>do: MCWorkingCopyBrowser(Object)>>changed: MCWorkingCopyBrowser>>repositoryListChanged MCWorkingCopyBrowser>>editRepository MCWorkingCopyBrowser(Object)>>perform:orSendTo: [ | selArgCount | "show cursor in case item opens a new MVC window" (selArgCount := selector numArgs) = 0 ifTrue: [ target perform: selector ] ifFalse: [ selArgCount = arguments size ifTrue: [ target perform: selector withArguments: arguments ] ifFalse: [ target perform: selector withArguments: (arguments copyWith: evt) ] ]. self changed ] in ToggleMenuItemMorph(MenuItemMorph)>>invokeWithEvent: in Block: [ | selArgCount |... BlockClosure>>ensure: CursorWithMask(Cursor)>>showWhile: ToggleMenuItemMorph(MenuItemMorph)>>invokeWithEvent: ToggleMenuItemMorph(MenuItemMorph)>>mouseUp: ToggleMenuItemMorph(MenuItemMorph)>>handleMouseUp: MouseButtonEvent>>sentTo: ToggleMenuItemMorph(Morph)>>handleEvent: MorphicEventDispatcher>>dispatchDefault:with: MorphicEventDispatcher>>handleMouseUp: