spelling
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/CHANGES b/CHANGES
index 40d65b8..ee9deac 100644
--- a/CHANGES
+++ b/CHANGES
@@ -146,7 +146,7 @@
* got 0.7; 2019-08-13
- properly parse timestamps in commit objects as UTC (patch by Hiltjo Posthuma)
- strip Git GPG signatures from log messages
-- fix regression: don't try to parse "leightweight" tags as real tag objects
+- fix regression: don't try to parse "lightweight" tags as real tag objects
* got 0.6; 2019-08-13
- 'got log' and 'tog log' now display tags in addition to branch references
diff --git a/lib/object.c b/lib/object.c
index b0ab435..174d3ab 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -1415,7 +1415,7 @@ open_tag(struct got_tag_object **tag, struct got_repository *repo,
goto done;
}
- /* Beware of "leightweight" tags: Check object type first. */
+ /* Beware of "lightweight" tags: Check object type first. */
err = read_packed_object_privsep(&obj, repo, pack, packidx,
idx, id);
if (err)
diff --git a/regress/cmdline/log.sh b/regress/cmdline/log.sh
index 62d97e2..a903a0e 100755
--- a/regress/cmdline/log.sh
+++ b/regress/cmdline/log.sh
@@ -190,7 +190,7 @@ function test_log_tag {
return 1
fi
- # test a "leightweight" tag
+ # test a "lightweight" tag
(cd $testroot/repo && git tag $tag2)
echo "commit $commit_id (master, tags/$tag, tags/$tag2)" \