diff options
Diffstat (limited to 'internal/testgit/object.go')
| -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") |
