Coder Social home page Coder Social logo

Comments (7)

creationix avatar creationix commented on September 26, 2024

I wonder if your git version is too old for the index format I'm writing. Are you able to upgrade and try with a newer git? From: Florent JabySent: Saturday, August 10, 2013 5:37 AMTo: creationix/js-gitReply To: creationix/js-gitSubject: [js-git] after cloning, git can't read index (#30)I successfully cloned one of my repos via https. but running git status in the repo results in a error message like this:

fatal: Unknown index entry format 28dc0000

Because I also have some git prompt addition the error messages come after each command.

$ git --version
git version 1.7.10.4

I installed js-git-node from npm. I cloned

—Reply to this email directly or view it on GitHub.

from js-git.

Floby avatar Floby commented on September 26, 2024

it's the git version in the apt repositories for ubuntu 12.10. so I suppose
the same version is used for 12.04 (LTE) I can try and get some newer git
and tell you how that goes.
Le 10 août 2013 18:47, "Tim Caswell" [email protected] a écrit :

I wonder if your git version is too old for the index format I'm writing.
Are you able to upgrade and try with a newer git? From: Florent JabySent:
Saturday, August 10, 2013 5:37 AMTo: creationix/js-gitReply To:
creationix/js-gitSubject: [js-git] after cloning, git can't read index
(#30)I successfully cloned one of my repos via https. but running git
status in the repo results in a error message like this:

fatal: Unknown index entry format 28dc0000

Because I also have some git prompt addition the error messages come after
each command.

$ git --version
git version 1.7.10.4

I installed js-git-node from npm. I cloned

—Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-22443014
.

from js-git.

creationix avatar creationix commented on September 26, 2024

Sorry I read the version wrong. That's not very old. From: Florent JabySent: Saturday, August 10, 2013 3:38 PMTo: creationix/js-gitReply To: creationix/js-gitCc: Tim CaswellSubject: Re: [js-git] after cloning, git can't read index (#30)it's the git version in the apt repositories for ubuntu 12.10. so I suppose

the same version is used for 12.04 (LTE) I can try and get some newer git

and tell you how that goes.

Le 10 août 2013 18:47, "Tim Caswell" [email protected] a écrit :

I wonder if your git version is too old for the index format I'm writing.

Are you able to upgrade and try with a newer git? From: Florent JabySent:

Saturday, August 10, 2013 5:37 AMTo: creationix/js-gitReply To:

creationix/js-gitSubject: [js-git] after cloning, git can't read index

(#30)I successfully cloned one of my repos via https. but running git

status in the repo results in a error message like this:

fatal: Unknown index entry format 28dc0000

Because I also have some git prompt addition the error messages come after

each command.

$ git --version

git version 1.7.10.4

I installed js-git-node from npm. I cloned

—Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-22443014

.

—Reply to this email directly or view it on GitHub.

from js-git.

maks avatar maks commented on September 26, 2024

Its very strange that you saw that error, as so far I've only come across it while working on the index (aka dircache) implementation in git-html5 and as far as I know js-git has no implementation for writing the index file in the same binary format the cgit (original git) uses.

from js-git.

creationix avatar creationix commented on September 26, 2024

A past version of js-git had this for the clone. I wrote a barebones index so that git status wouldn't complain about stuff breaking.

from js-git.

maks avatar maks commented on September 26, 2024

oh hey @creationix I didn't realise that! Well that will be handy to refer to as I'm in the middle of getting my writing working. But in relation to this, in my tests atm as far as I can tell I'm seeing this due to a bad value in the 16-bit flags field, the one just before the pathname field in a ver2 index file.

from js-git.

creationix avatar creationix commented on September 26, 2024

@maks, here is my old code that was writing the index. 2baa4f9

from js-git.

Related Issues (20)

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.