-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
borg-assimilate fails with "fatal: Not a git repository..." #3
Comments
I have gotten errors like this before and it is one of the sharper edges of the modules functionality. Usually it was the result of me doing something very wrong, but git doesn't really help you figure out what that is because it bails out very early on. If I remember correctly it always gives an error like the above, but in some cases that isn't really an appropriate error. Anyway, you have to get things into a "less corrupted state" before you can investigate what is actually wrong. Check if |
Jonas Bernoulli <notifications@github.com> writes:
I have deleted/cloned my repo, so I won't be able investigate more
unless I face the same issue again.
Check if `~/.emacs.d/.git/modules/company-lua` exists and is a valid
gitdir. If not then copy one of the neighboring gitdirs in its
place. Now you should at least be able to investigate.
The directory existed, and looked like a gitdir.
The weird thing was that I got this issue for any new package I tried to
assimilate, not just company-lua.
|
@tarsius I got the same error again. It turns out the
I have no clue why. After removing this file, it all works fine. |
Do you use a very old |
git version 2.7.5 |
Turns out I was thinking of a different bogus file, see magit/magit@06a7f52. |
Still it might be worth trying to reproduce this with a more recent version. (Newer versions have some nice new features also.) |
Please reopen if you run into this again. |
My git repository must be in a bad state, but whenever I try to
borg-assimilate
a drone, I got an error message like:My emacs.d is at https://github.com/nicolaspetton/emacs.d
The text was updated successfully, but these errors were encountered: