Skip to contentSkip to conversation

Fix typos

PATCH In review Andrew Kreimer 2 participants 8 messages Oct 2, 2024 – Oct 8, 2024

lore
Share & tools
lore
#0 lore raw

cover Fix typos

Fix typos in documentation, comments, etc.

 gitk-git/gitk      | 2 +-
 mergetools/vimdiff | 2 +-
 perl/Git/I18N.pm   | 2 +-
 reftable/reader.h  | 2 +-
 trace2/tr2_ctr.c   | 2 +-
 trace2/tr2_tls.h   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.39.5
#1 lore raw

PATCH 1/5 trace2: fix typos

Fix typos in comments.

---
 trace2/tr2_ctr.c | 2 +-
 trace2/tr2_tls.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
trace2/tr2_ctr.c +1 -1
index 036b643578..ee17bfa86b 100644
@@ -4,7 +4,7 @@
 #include "trace2/tr2_ctr.h"
 
 /*
- * A global counter block to aggregrate values from the partial sums
+ * A global counter block to aggregate values from the partial sums
  * from each thread.
  */
 static struct tr2_counter_block final_counter_block; /* access under tr2tls_mutex */
trace2/tr2_tls.h +1 -1
index 3dfe6557fc..3bdbf4d275 100644
@@ -11,7 +11,7 @@
  */
 
 /*
- * Arbitry limit for thread names for column alignment.
+ * Arbitrary limit for thread names for column alignment.
  */
 #define TR2_MAX_THREAD_NAME (24)
 
Signature · 1 line
2.39.5
#2 lore raw

PATCH 2/5 reftable: fix a typo

In reply to Andrew Kreimer

Fix a typo in comments.

---
 reftable/reader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
reftable/reader.h +1 -1
index 3710ee09b4..91377b9ce5 100644
@@ -30,7 +30,7 @@ struct reftable_reader_offsets {
 
 /* The state for reading a reftable file. */
 struct reftable_reader {
-	/* for convience, associate a name with the instance. */
+	/* for convenience, associate a name with the instance. */
 	char *name;
 	struct reftable_block_source source;
 
Signature · 1 line
2.39.5
#3 lore raw

PATCH 3/5 mergetool: fix a typo

In reply to Andrew Kreimer

Fix a typo in comments.

---
 mergetools/vimdiff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mergetools/vimdiff +1 -1
index f8ad6b35d4..ffc9be86c8 100644
@@ -411,7 +411,7 @@ merge_cmd () {
 			-f "$FINAL_CMD" '"$LOCAL"' '"$BASE"' '"$REMOTE"' '"$MERGED"'
 	else
 		# If there is no BASE (example: a merge conflict in a new file
-		# with the same name created in both braches which didn't exist
+		# with the same name created in both branches which didn't exist
 		# before), close all BASE windows using vim's "quit" command
 
 		FINAL_CMD=$(echo "$FINAL_CMD" | \
Signature · 1 line
2.39.5
#4 lore raw

PATCH 4/5 gitk: fix a typo

In reply to Andrew Kreimer

Fix a typo in comments.

---
 gitk-git/gitk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gitk-git/gitk +1 -1
index 7a087f123d..f85c421c5f 100755
@@ -3687,7 +3687,7 @@ proc external_diff {} {
         set diffidto [lindex $diffids 1]
     }
 
-    # make sure that several diffs wont collide
+    # make sure that several diffs won't collide
     set diffdir [gitknewtmpdir]
     if {$diffdir eq {}} return
 
Signature · 1 line
2.39.5
#5 lore raw

PATCH 5/5 perl: fix a typo

In reply to Andrew Kreimer

Fix a typo in comments.

---
 perl/Git/I18N.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
perl/Git/I18N.pm +1 -1
index 5454c3a6d2..475e90a6df 100644
@@ -111,7 +111,7 @@ =head2 __n($$$)
 =head2 N__($)
 
 No-operation that only returns its argument. Use this if you want xgettext to
-extract the text to the pot template but do not want to trigger retrival of the
+extract the text to the pot template but do not want to trigger retrieval of the
 translation at run time.
 
 =head1 AUTHOR
Signature · 1 line
2.39.5
#6 lore raw
In reply to Andrew Kreimer
Quoted 9 lines · Andrew Kreimer

Fix typos in documentation, comments, etc.

 gitk-git/gitk      | 2 +-
 mergetools/vimdiff | 2 +-
 perl/Git/I18N.pm   | 2 +-
 reftable/reader.h  | 2 +-
 trace2/tr2_ctr.c   | 2 +-
 trace2/tr2_tls.h   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

Thanks. These fixes all look fine.

The gitk fix, though, may need to be sent separately since gitk is maintained as a separate project which Junio periodically pulls into Git. (Unfortunately, however, the gitk maintainer has gone missing, so...)

#7 lore raw
Quoted 11 lines · Eric Sunshine
Quoted 9 lines · Andrew Kreimer

Fix typos in documentation, comments, etc.

 gitk-git/gitk      | 2 +-
 mergetools/vimdiff | 2 +-
 perl/Git/I18N.pm   | 2 +-
 reftable/reader.h  | 2 +-
 trace2/tr2_ctr.c   | 2 +-
 trace2/tr2_tls.h   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Quoted 4 lines

The gitk fix, though, may need to be sent separately since gitk is maintained as a separate project which Junio periodically pulls into Git. (Unfortunately, however, the gitk maintainer has gone missing, so...)

Thank you.