diff options
| author | 2026-05-24 10:50:41 +0000 | |
|---|---|---|
| committer | 2026-05-24 10:50:41 +0000 | |
| commit | 3b8419a9202c7ae6d0294da11e475caf1543784d (patch) | |
| tree | 2a0758559e7f14c4b6692efeaa6a6b3597230b18 /internal/testgit | |
| parent | internal/testgit: Init (diff) | |
| signature | No signature | |
internal/testgit: Fix documentation wrappin
Diffstat (limited to 'internal/testgit')
| -rw-r--r-- | internal/testgit/object.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/testgit/object.go b/internal/testgit/object.go index 0ea4d4d8..566c8b82 100644 --- a/internal/testgit/object.go +++ b/internal/testgit/object.go @@ -8,7 +8,8 @@ import ( "codeberg.org/lindenii/furgit/object/typ" ) -// HashObject hashes and writes an object and returns its object ID. +// HashObject hashes and writes an object, +// and returns its object ID. func (repo *Repo) HashObject(tb testing.TB, ty typ.Type, body io.Reader) id.ObjectID { tb.Helper() cmd := repo.Command(tb, "git", "hash-object", "-t", ty.Name(), "-w", "--stdin", "--literally") |
