Comments (9)
This happens every time you edit a page? What are the contents of the tree?
from grit.
yes. this is the flow to reproduce:
gem install gollum
cd wiki
git init .
gollum
-> hit localhost:4567
-> create a new page
-> edit the same page & save
i get redirected to the 'create page' page for the same page item. at this stage the tree is already corrupt.
i mention again that this all happens in Windows based environments (the ones mentioned above, not same machines necessarily).
from grit.
Well, you may have to fix the bug on your end then. What are the contents of the tree?
git cat-file -p TREE_SHA
from grit.
C:\wiki>git cat-file -p f1f4bc2c8a9f31928c22e242890094c0e7e50a07
tree c1e3cc319766933e694784f16cdb2207dbe3d543
parent f7ca910c838fbe39764ba5894fb832295cd54dd2
author jondot [email protected] 1293806444 -0700
committer jondot [email protected] 1293806444 -0700
from grit.
That's a commit. Run that on the tree sha.
from grit.
C:\wiki>git cat-file -p c1e3cc319766933e694784f16cdb2207dbe3d543
040000 tree fd22caff3eb4f3acb0dac3d5600b8d609cc956cf
:
100644 blob c69338169bf60650209c2dc610a0013f43d81f10
Home.md
um, is it possible that it committed ':' because of the way the path looks? (c:) and its not really legal in windows?
from grit.
Possibly. That looks like a bug in Grit::Index
from grit.
sorry, feels like a bug in gollum.. i'll track it down, thanks
from grit.
confirmed. normalize_dir in gollum is not win32 safe. sorry for the hassle.
from grit.
Related Issues (20)
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 grit.