Skip to content

Commit 0b59791

Browse files
committed
comment: Fix spelling mistakes inside comments
This commit fixes a couple of minor spelling mistakes inside comments. Signed-off-by: Steve Kemp <[email protected]> Signed-off-by: Steve Kemp <[email protected]>
1 parent 47ae905 commit 0b59791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

add-patch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ static int edit_hunk_loop(struct add_p_state *s,
12031203
for (;;) {
12041204
int res = edit_hunk_manually(s, hunk);
12051205
if (res == 0) {
1206-
/* abandonded */
1206+
/* abandoned */
12071207
*hunk = backup;
12081208
return -1;
12091209
}

ref-filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ static int for_each_fullref_in_pattern(struct ref_filter *filter,
19801980
* of oids. If the given ref is a tag, check if the given tag points
19811981
* at one of the oids in the given oid array.
19821982
* 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
19841984
* change this to account for multiple levels (e.g. annotated tags
19851985
* pointing to annotated tags pointing to a commit.)
19861986
* 2. As the refs are cached we might know what refname peels to without

0 commit comments

Comments
 (0)