ObjectDirectory has not been properly disposed
{/home/ecoffey/code/blah/.git/objects}
ObjectDirectory has not been properly disposed.
I was digging around in GitSharp.Core.Repository and it looks like
it's _objectDirectory is getting Dispose called on it. Any ideas on
how I messed this up? :-)
--
For infos about GitSharp visit http://www.eqqon.com/index.php/GitSharp
To join this group visit http://groups.google.com/group/gitsharp
Only attempted on linux.
>>Any ideas on how I messed this up? :-)
> Dunno :-) Will take a look tonight provided I'm able to successfully make it
> fail on my box.
The steps I used were:
mkdir /some/temp/location/test
cd /some/temp/location/test
/path/to/gitsharp/git.exe init
/path/to/gitsharp/git.exe init
Thanks man :-)
-Eoin
Ahh ok, thanks for the help there.
When I glanced at that code it looked we never instantiated a
Repository into that AC property but just used it to hold a reference
to a repo from the command internals.
I'll investigate that tonight.
Also it seems kind of odd that GitSharp is relying on a layer "above"
it for that functionality (i.e. calling GitSharp.Repository.Init
builds an InitCommand object and uses that).
-Eoin