I am an org-mode (emacs-mode) user.
org-mode uses git -- so those who want to stay upto date with the devel
version use git pull, followed by a re-build.
Recently the build system has been made more elaborate having a number of
makefiles and pre-process makefiles:
http://orgmode.org/worg/dev/org-build-system.html gives a summary of this
infrastructure.

Now recently my org-mode stopped working. I narrowed the problem to some
disappeared makefiles.
[git status output below]
Running git reset --hard now gives me

$ git status
# On branch master
nothing to commit (working directory clean)

and now orgmode seems to be working.

So now my questions:
1. How did/could those files have been deleted -- as I said I am not a
developer and so have none of my own modifications?
2. Is reset --hard the correct way?

Regards
Rusi

--------------- git status output ------------------------
$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working
directory)
#
#    deleted:    .dir-locals.el
#    deleted:    .dir-settings.el
#    deleted:    contrib/scripts/.gitignore
#    deleted:    contrib/scripts/dir2org.zsh
#    deleted:    contrib/scripts/ditaa.jar
#    deleted:    contrib/scripts/docco.css
#    deleted:    contrib/scripts/org-docco.org
#    deleted:    contrib/scripts/staticmathjax/
.gitignore
#    deleted:    contrib/scripts/staticmathjax/README.org
#    deleted:    contrib/scripts/staticmathjax/chrome/chrome.manifest
#    deleted:    contrib/scripts/staticmathjax/chrome/content/main.js
#    deleted:    contrib/scripts/staticmathjax/chrome/content/main.xul
#    deleted:    contrib/scripts/staticmathjax/defaults/preferences/prefs.js
#    deleted:    contrib/scripts/x11idle.c
#    deleted:    doc/.aspell.org.conf
#    deleted:    doc/.nosearch
#    deleted:    doc/Documentation_Standards.org
#    deleted:    doc/Makefile
#    deleted:    doc/dir
#    deleted:    etc/Makefile
#    deleted:    mk/fake_change_log.pl
#    deleted:    mk/git-changelog
#    deleted:    mk/guidesplit.pl
#    deleted:    mk/list-hooks.pl
#    deleted:    mk/manfull.pl
#    deleted:    mk/mansplit.pl
#    deleted:    request-assign-future.txt
#    deleted:    testing/.gitignore
#    deleted:    testing/examples/include.org
#    deleted:    testing/examples/include2.org
#    deleted:    testing/examples/link-in-heading.org
#    deleted:    testing/examples/links.org
#    deleted:    testing/examples/no-heading.org
#    deleted:    testing/examples/normal.org
#    deleted:    testing/examples/ob-awk-test.in
#    deleted:    testing/examples/ob-awk-test.org
#    deleted:    testing/examples/ob-lilypond-broken.ly
#    deleted:    testing/examples/ob-lilypond-broken.org
#    deleted:    testing/examples/ob-lilypond-test.error
#    deleted:    testing/examples/ob-lilypond-test.ly
#    deleted:    testing/examples/ob-lilypond-test.org
#    deleted:    testing/examples/ob-maxima-test.org
#    deleted:    testing/examples/ob-octave-test.org
#    deleted:    testing/examples/ob-screen-test.org
#    deleted:    testing/examples/org-exp.org
#    deleted:    testing/examples/property-inheritance.org
#    deleted:    testing/jump
#
no changes added to commit (use "git add" and/or "git commit -a")

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to