Skip to content

Commit ab4ad1f

Browse files
thaliaarchigitster
authored andcommitted
fast-import: make comments more precise
The former is somewhat imprecise. The latter became out of sync with the behavior in e814c39 (fast-import: refactor parsing of spaces, 2014-06-18). Signed-off-by: Thalia Archibald <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent be4d6a3 commit ab4ad1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/fast-import.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,7 +2210,7 @@ static int parse_mapped_oid_hex(const char *hex, struct object_id *oid, const ch
22102210
*
22112211
* idnum ::= ':' bigint;
22122212
*
2213-
* Return the first character after the value in *endptr.
2213+
* Update *endptr to point to the first character after the value.
22142214
*
22152215
* Complain if the following character is not what is expected,
22162216
* either a space or end of the string.
@@ -2243,8 +2243,8 @@ static uintmax_t parse_mark_ref_eol(const char *p)
22432243
}
22442244

22452245
/*
2246-
* Parse the mark reference, demanding a trailing space. Return a
2247-
* pointer to the space.
2246+
* Parse the mark reference, demanding a trailing space. Update *p to
2247+
* point to the first character after the space.
22482248
*/
22492249
static uintmax_t parse_mark_ref_space(const char **p)
22502250
{

0 commit comments

Comments
 (0)