apenwarr / apenwarr/git-subtrac

git-subtrac runs into `git-subtrac: git status` errors all the time

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
389
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I'm having issues getting git-subtrac to work with my repo https://github.com/telotortium/emacs.d, which uses several submodules. After running `git clone https://github.com/telotortium/emacs.d` and `git submodule update --init --recursive` inside the repo, I can run `git subtrac --auto-exclude update`. I then want to follow the advice of the README and set `url = .` for all the submodules in `.gitmodules`. I do this, and then attempt to run `git fetch --all` in all the submodules. When I go back up to the main repo, I then encounter errors like this:

```
git subtrac --verbose --auto-exclude update
Scanning branch: refs/heads/master
add 160b1c4552 refs/heads/master/cache/
Searching submodules for: refs/heads/master/lisp/git-auto-commit-mode@f89ed36c38
git-subtrac: git status(lisp/org-gtasks.git): invalid checksum (fetch it manually? or try --exclude)
```

The specific submodule in the error message changes when I run the command repeatedly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.