Commit Diff


commit - ef2c200c9b4d430a41a34c68eb78d439ea31819f
commit + 992eb9d8966327c12d7e3812a2cae527f621e4ba
blob - 40d65b8402d586c3715b37b0ab235becfe71d117
blob + ee9deace815a894222a2bb57d6b23a1cc43ba6c6
--- CHANGES
+++ 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
blob - b0ab43580d1b083a39ff1c3a7aacf7b4073720f3
blob + 174d3ab02fe48232c74cae3094711739da35c167
--- lib/object.c
+++ lib/object.c
@@ -1415,7 +1415,7 @@ open_tag(struct got_tag_object **tag, struct got_repos
 				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)
blob - 62d97e2d9119bef047e81d719545162be88565e2
blob + a903a0ec15c99cef90eb0ed9aacd554443df3aef
--- regress/cmdline/log.sh
+++ 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)" \