From 1864d943cb2556f8213356fd864683e7eba4e9bb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 7 Jun 2026 07:45:08 +0000 Subject: internal/testgit: Use --end-of-options sensibly --- internal/testgit/fsck.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/testgit/fsck.go') 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()) } -- cgit v1.3.1-10-gc9f91