From: Kousik Sanagavarapu <five231003@gmail.com>
To: gitster@pobox.com
Cc: five231003@gmail.com, git@vger.kernel.org, newren@gmail.com
Subject: Re: [GSoC][PATCH] merge: use reverse_commit_list() for list reversal
Date: Sun, 5 Feb 2023 23:42:57 +0530 [thread overview]
Message-ID: <20230205181257.159652-1-five231003@gmail.com> (raw)
In-Reply-To: <xmqqmt5uo9ea.fsf@gitster.g>
On Sat, 4 Feb 2023 at 00:37, Junio C Hamano <gitster@pobox.com> wrote:
> One possible action item for us may be to rename or give comment to
> highlight the in-place destructive nature of the function to make it
> easier for developers to use (or avoid misusing) it.
There is a comment describing what the function does in commit.h but
it doesn't _explicitly_ warn about this destructive behavior (although,
with a little thinking, developers can infer that the function can cause
this behavior after reading the comment). So, maybe we should go with the
comment being a bit more descriptive?
Thanks
next prev parent reply other threads:[~2023-02-05 18:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 16:51 [GSoC][PATCH] merge: use reverse_commit_list() for list reversal Kousik Sanagavarapu
2023-02-02 23:06 ` Junio C Hamano
2023-02-03 17:11 ` Kousik Sanagavarapu
2023-02-03 17:30 ` Kousik Sanagavarapu
2023-02-02 23:46 ` Elijah Newren
2023-02-03 17:49 ` Kousik Sanagavarapu
2023-02-03 18:02 ` Elijah Newren
2023-02-03 19:07 ` Junio C Hamano
2023-02-05 18:12 ` Kousik Sanagavarapu [this message]
2023-02-05 17:32 ` Kousik Sanagavarapu
[not found] <CABPp-BHnXy+Hpv4y83znMxDGOTCZQfYhnDon=ehBDGOxAnW1vQ@mail.gmail.com--to=newren@gmail.com>
2023-02-05 17:31 ` Kousik Sanagavarapu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230205181257.159652-1-five231003@gmail.com \
--to=five231003@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=newren@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.