@matheusbsbs / matheus-bagliano / commits / 84544f2ea3
Fork 0

comment: fix spelling mistakes inside comments

This commit fixes a couple of minor spelling mistakes inside comments. Signed-off-by: Steve Kemp <steve@steve.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Steve Kemp committed Jul 29, 2020 at 03:33 UTC 84544f2ea3441a5715fc3e2dfbb025083872fac5
4 files changed +4 -4
add-patch.c
+1 -1
@@ -1203,7 +1203,7 @@ static int edit_hunk_loop(struct add_p_state *s,
1203 for (;;) {
1204 int res = edit_hunk_manually(s, hunk);
1205 if (res == 0) {
1206 - /* abandonded */
1206 + /* abandoned */
1207 *hunk = backup;
1208 return -1;
1209 }
column.c
+1 -1
@@ -107,7 +107,7 @@ static void display_plain(const struct string_list *list,
107 printf("%s%s%s", indent, list->items[i].string, nl);
108 }
109
110 -/* Print a cell to stdout with all necessary leading/traling space */
110 +/* Print a cell to stdout with all necessary leading/trailing space */
111 static int display_cell(struct column_data *data, int initial_width,
112 const char *empty_cell, int x, int y)
113 {
grep.c
+1 -1
@@ -1817,7 +1817,7 @@ static int grep_source_1(struct grep_opt *opt, struct grep_source *gs, int colle
1817 * We might set up the shared textconv cache data here, which
1818 * is not thread-safe. Also, get_oid_with_context() and
1819 * parse_object() might be internally called. As they are not
1820 - * currenty thread-safe and might be racy with object reading,
1820 + * currently thread-safe and might be racy with object reading,
1821 * obj_read_lock() must be called.
1822 */
1823 grep_attr_lock();
ref-filter.c
+1 -1
@@ -1980,7 +1980,7 @@ static int for_each_fullref_in_pattern(struct ref_filter *filter,
1980 * of oids. If the given ref is a tag, check if the given tag points
1981 * at one of the oids in the given oid array.
1982 * NEEDSWORK:
1983 - * 1. Only a single level of inderection is obtained, we might want to
1983 + * 1. Only a single level of indirection is obtained, we might want to
1984 * change this to account for multiple levels (e.g. annotated tags
1985 * pointing to annotated tags pointing to a commit.)
1986 * 2. As the refs are cached we might know what refname peels to without