Problem with FS Git

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

Problem with FS Git

simondenier
I'm playing with FS-Git, see how we can use it to browse/extract information from a Git repository. Difficult to get started without a bit of information, but after a while it's ok

I have one minor remark and a potential bug:
1) it would be cool to have the timestamp of the commit

2) when trying to recursively browse parents the commit tree, I stumble upon a DNU in GitPackedObject>>unpackRefDeltaContent

unpackRefDeltaContent
        | s delta base |
        s := (GitObjectSignature loadFrom: file) resolve. "---> (GitObjectSignature loadFrom: file) returns an Integer, which can't answer to #resolve "
        delta := self readDelta.
        base := pack packedObjectAt: s.
        self applyDelta: delta to: base.

Is this a known bug?

I just tried this morning with the latest version of Camillo as well as with the previous version.

--
Simon Denier