GithubHelp home page GithubHelp logo

io.EOF error opening raw objects about gogit HOT 7 CLOSED

speedata avatar speedata commented on September 28, 2024
io.EOF error opening raw objects

from gogit.

Comments (7)

TheDahv avatar TheDahv commented on September 28, 2024

FWIW, here's where I went to read up about the EOF error and how consumers of Readers are supposed to deal with them:

There are other functions that return the contents of the file--though, perhaps not as efficiently as what you may be trying to do with your fixed-length buffer--that hide the EOF details away from the client code. I don't have as much familiarity with what other needs are met by this function, so I couldn't recommend either way.

from gogit.

pgundlach avatar pgundlach commented on September 28, 2024

I'll have a look, but unfortunately I won't be able to answer until the day after tomorrow.

from gogit.

TheDahv avatar TheDahv commented on September 28, 2024

No rush! This supports a side project for me, and I was happy to find a solution that didn't involve cgo. Kudos for the work done so far!

I offer a patch in case it is helpful: #9

This is a fun side project and has taught me a lot about git internals so far. Ideally the goal would be to have an easy binary that helps people new to a project find ideal reviewers for a pull request when they are new to a project.

Not to get too off topic, but have you thought about exploring implementations of git-blame or git-annotate? I'm having to do that by calling out to git for now.

from gogit.

pgundlach avatar pgundlach commented on September 28, 2024

Actually I don't do active development on this git project at the moment, so I don't have any plans to implement git-blame or git-annotate.

This repository was started to be good enough for another project (a rsync-git mirror at https://ctanmirror.speedata.de/2016-09-14/ which is currently 400 gigabyte)

from gogit.

TheDahv avatar TheDahv commented on September 28, 2024

Oh! I see you closed the issue. Is that to communicate that this project isn't supported and the fix won't be considered?

from gogit.

pgundlach avatar pgundlach commented on September 28, 2024

No, not at all. I thought the issue was fixed with the pull request (#9). I have included that pull request, so I am done (<-- at least, this is what I tought).

from gogit.

TheDahv avatar TheDahv commented on September 28, 2024

Oops, I misread and didn't see that. Ha, I didn't expect it to get merged so fast.

Thank you :)

from gogit.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.