diff options
| author | 2026-03-04 08:25:05 +0800 | |
|---|---|---|
| committer | 2026-03-04 08:25:05 +0800 | |
| commit | 34d47f9e0cf66904432a3c774707b4773273ef4f (patch) | |
| tree | f639f1d5ab04ae10805901034517f51559639e7f /cmd/show-object | |
| parent | refstore/packed: Use os.Root (diff) | |
| signature | No signature | |
*: gofumpt
Diffstat (limited to 'cmd/show-object')
| -rw-r--r-- | cmd/show-object/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/show-object/main.go b/cmd/show-object/main.go index 47326269..6d27ffad 100644 --- a/cmd/show-object/main.go +++ b/cmd/show-object/main.go @@ -27,7 +27,7 @@ func main() { } } -func run(repoPath *string, name *string) error { +func run(repoPath, name *string) error { root, err := os.OpenRoot(*repoPath) if err != nil { return fmt.Errorf("open repo root: %w", err) |
