diff options
| author | 2026-06-07 07:45:08 +0000 | |
|---|---|---|
| committer | 2026-06-07 07:45:08 +0000 | |
| commit | 1864d943cb2556f8213356fd864683e7eba4e9bb (patch) | |
| tree | 9dcad1bde924ec20a8a8c8128ff20e9eb4ee2753 /internal/testgit/fsck.go | |
| parent | internal/testgit: Add show and fsck (diff) | |
| signature | No signature | |
internal/testgit: Use --end-of-options sensibly
Diffstat (limited to 'internal/testgit/fsck.go')
| -rw-r--r-- | internal/testgit/fsck.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/testgit/fsck.go b/internal/testgit/fsck.go index 6eb4047a..5689899e 100644 --- a/internal/testgit/fsck.go +++ b/internal/testgit/fsck.go @@ -27,6 +27,8 @@ func (repo *Repo) Fsck(tb testing.TB, opts FsckOptions, objects ...id.ObjectID) args = append(args, "--no-dangling") } + args = append(args, "--end-of-options") + for _, object := range objects { args = append(args, object.String()) } |
