Comments (9)
Thanks for pointing this out, I've just pushed up a fix for this issue.
from emacs-starter-kit.
Still getting a similar error as of 9:30 PM
jeffreyhorn@hook:~/src/emacs-starter-kit 2011-01-11 21:38:56 git:master
>> git submodule update
error: Unable to find fa03d6eae16468230eff55ca477a17e489b522f9 under http://repo.or.cz/r/org-mode.git
Cannot obtain needed blob fa03d6eae16468230eff55ca477a17e489b522f9
while processing commit b092d31d68add1b599813fb3cfef7524c41280a7.
error: Fetch failed.
Unable to fetch in submodule path 'src/org'
from emacs-starter-kit.
hmm, it looks like you don't have the latest value of .gitmodules
, maybe you will need to re-run git submodule init
to re-read the .gitmodules
file. Here's what I get when I run git submodule update
in my repository.
~/emacs $ git submodule update
Submodule path 'src/org': checked out 'ca0e61d7848e7ec1f49f2076e4a120c3e7722147'
~/emacs $ cat .gitmodules
[submodule "src/org"]
path = src/org
url = http://orgmode.org/org-mode.git
[submodule "src/magit"]
path = src/magit
url = http://github.com/philjackson/magit.git
[submodule "snippets/text-mode/org-mode"]
path = snippets/text-mode/org-mode
url = http://github.com/eschulte/yasnippet-org-mode.git
[submodule "src/auctex"]
path = src/auctex
url = http://github.com/eschulte/auctex.git
[submodule "src/zenburn-emacs"]
path = src/zenburn-emacs
url = http://github.com/bbatsov/zenburn-emacs.git
from emacs-starter-kit.
OK. I'm not sure what's going on.
- I cloned into a new directory.
- I issued
rm -r .git*
in my ~/.emacs.d directory. - I rsync'd the new clone to my ~/.emacs.d (which copied the fresh git index and .gitmodules)
- (working directory now ~/.emacs.d) Issued
git submodule init
and observe the expected output. - Issued
git submodule update
and get the same error again.
How do I start over without losing my local files? Am I doing something wrong?
from emacs-starter-kit.
Ok, I just tried a fresh clone of the repository on my local machine into a new directory and both git submodule init
as well as git submodule update
worked without problem (although the checkout of org-mode did take a long time.
I have a couple of questions.
what are the contents of your .gitmodules
file?
can you clone the org-mode repository directly as it's own repository i.e. not as a submodule?
from emacs-starter-kit.
To answer your first question:
jeffreyhorn@hook:~/.emacs.d 2011-01-12 08:56:43 git:master
>> cat .gitmodules
[submodule "src/org"]
path = src/org
url = http://orgmode.org/org-mode.git
[submodule "src/magit"]
path = src/magit
url = http://github.com/philjackson/magit.git
[submodule "snippets/text-mode/org-mode"]
path = snippets/text-mode/org-mode
url = http://github.com/eschulte/yasnippet-org-mode.git
[submodule "src/auctex"]
path = src/auctex
url = http://github.com/eschulte/auctex.git
[submodule "src/zenburn-emacs"]
path = src/zenburn-emacs
url = http://github.com/bbatsov/zenburn-emacs.git
jeffreyhorn@hook:~/.emacs.d 2011-01-12 09:04:42 git:master
>> git submodule update
error: Unable to find fa03d6eae16468230eff55ca477a17e489b522f9 under http://repo.or.cz/r/org-mode.git
Cannot obtain needed blob fa03d6eae16468230eff55ca477a17e489b522f9
while processing commit ca0e61d7848e7ec1f49f2076e4a120c3e7722147.
error: Fetch failed.
Unable to fetch in submodule path 'src/org'
And as for cloning org-mode by itself, I can do that. Playing around, I issued rm -r .git*
in the src/org directory. That broke updating further. So, I cloned a new repo, issued git submodule init
and git submodule update
in the new clone, then rsync'd the files into ~/.emacs.d/
and everything seems in order now.
from emacs-starter-kit.
I'm happy everything worked out.
I am still confused as to how/why your install is still trying to use the http://repo.or.cz/r/org-mode.git
url for the org-mode repository. That url is no longer in your .gitmodules
file, and should not exist anywhere in your fresh checkout.
Also, I would be very careful with commands like rm -rf .git
and only use them if you have backed up your repository separately. Generally such a drastic step should not be required, generally stepping into a new branch should be a sufficient change to "start fresh".
from emacs-starter-kit.
Thanks for the tips, Eric. One last question: what if the master branch is dirty? How do I start over in that branch?
So far, I've only been making branches when I make changes, and I've been locally ignoring files that aren't part of the master branch. I found sitting in a "local" branch instead of master a bit tedious when it came to updating.
from emacs-starter-kit.
I found this git book to be very useful http://progit.org/book/
from emacs-starter-kit.
Related Issues (12)
- package-load-all-descriptors fails on ~/.emacs.d/elpa/archives
- Wrong org manual version? HOT 3
- starttls HOT 3
- make error HOT 1
- submodule src/org is broken HOT 2
- custom.el customizations overwritten later in starter-kit.org HOT 1
- cython-mode required but not included HOT 1
- packages.el can't find starter-kit packages like yasnippet-bundle HOT 4
- after i update the git submodules and make auctex, etc... i get this error HOT 10
- (mouse-wheel-mode t) causes trouble when booted into terminal HOT 2
- Zenburn submodule HOT 2
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 emacs-starter-kit.