diff mbox series

[v3] fixup! refs: allow @{n} to work with n-sized reflog

Message ID d51c9ccca7c58524d5c735c596c142583029a36c.1610432037.git.liu.denton@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v3] fixup! refs: allow @{n} to work with n-sized reflog | expand

Commit Message

Denton Liu Jan. 12, 2021, 6:14 a.m. UTC
Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 refs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Denton Liu Jan. 12, 2021, 6:18 a.m. UTC | #1
Please disregard, I see that the fixup has already been included.

-Denton

On Mon, Jan 11, 2021 at 10:14:14PM -0800, Denton Liu wrote:
> Signed-off-by: Denton Liu <liu.denton@gmail.com>
> ---
>  refs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/refs.c b/refs.c
> index e70dcd33f7..03968ad787 100644
> --- a/refs.c
> +++ b/refs.c
> @@ -906,7 +906,7 @@ static int read_ref_at_ent(struct object_id *ooid, struct object_id *noid,
>  	cb->date = timestamp;
>  
>  	/*
> -	 * It is not possible for cb->cnt == 0 on the first itertion because
> +	 * It is not possible for cb->cnt == 0 on the first iteration because
>  	 * that special case is handled in read_ref_at().
>  	 */
>  	if (cb->cnt > 0)
> -- 
> 2.30.0.284.gd98b1dd5ea
>
Junio C Hamano Jan. 12, 2021, 6:27 a.m. UTC | #2
Denton Liu <liu.denton@gmail.com> writes:

> Please disregard, I see that the fixup has already been included.

Being careful never hurts; it may make duplicated work from time to
time, but that is better than fixes falling thru the cracks.

Thanks.
diff mbox series

Patch

diff --git a/refs.c b/refs.c
index e70dcd33f7..03968ad787 100644
--- a/refs.c
+++ b/refs.c
@@ -906,7 +906,7 @@  static int read_ref_at_ent(struct object_id *ooid, struct object_id *noid,
 	cb->date = timestamp;
 
 	/*
-	 * It is not possible for cb->cnt == 0 on the first itertion because
+	 * It is not possible for cb->cnt == 0 on the first iteration because
 	 * that special case is handled in read_ref_at().
 	 */
 	if (cb->cnt > 0)