Comments (7)
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.
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.4I 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.
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.
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.
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.
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.
@maks, here is my old code that was writing the index. 2baa4f9
from js-git.
Related Issues (20)
- Generating repo statistics using js-git HOT 2
- NodeJS Git Server HOT 4
- what is wrong with my syntax?
- repo.unpack callback is never called using HTTP transport HOT 7
- Where can I find examples? HOT 18
- Pull / push HOT 7
- commit.parents is not defined when using logWalk HOT 2
- Octal modes HOT 2
- read ref-delta cause infinite loop... HOT 2
- NPM package is outdated HOT 1
- Example on README doesn't show that the yield loadAs returns an array
- es-git: js-git 2.0 HOT 18
- Clone URL in browser? HOT 10
- pack-ops mixing doesn't work HOT 5
- Replace github-db with private git server? HOT 4
- In-memory file system HOT 2
- resolveRef should be available through a mix-in HOT 2
- Typo in mem-cache dupe?
- support simple HTTP protocol HOT 25
- bountysource.com/fundraisers is dead and the about link is sad HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-git.