apenwarr / apenwarr/git-subtrac

Error on git subtrac update: index out of range error

未关闭
#12 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
389
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

This happened on a fresh git repo with just one commit.

Go version: `go version go1.13.8 linux/amd64`

Error message:
```
Scanning branch: refs/heads/master
Searching submodules for: refs/heads/master/audit-trigger@701646cc2c 70164
6cc2cb937c525cd939ad3329cbd4eb95e0c
panic: runtime error: index out of range [0] with length 0
```

Contents of the `.gitmodules` file:
```
───────┬──────────────────────────────────────────────────────────────────
│ File: .gitmodules
───────┼──────────────────────────────────────────────────────────────────
1 │ [submodule "audit-trigger"]
2 │ path = audit-trigger
3 │ url = https://github.com/hasura/audit-trigger
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。