Re: [PATCH v3 3/3] archive: remove the_repository global variable
- From
johncai86@gmail.com <johncai86@gmail.com>
- Date
- Oct 10, 2024, 18:27 UTC
- Message-ID
- <4A5B361F-159C-421C-BC47-BEE3765E6F34@gmail.com>
- In-Reply-To
- <ZwDnHs92pEs0UJbN@ArchLinux>
Hi Jialuo,
On 5 Oct 2024, at 3:13, shejialuo wrote:
Show 20 quoted lines
> On Sat, Oct 05, 2024 at 03:30:43AM +0000, John Cai via GitGitGadget wrote: >> diff --git a/builtin/archive.c b/builtin/archive.c >> index dc926d1a3df..13ea7308c8b 100644 >> --- a/builtin/archive.c >> +++ b/builtin/archive.c > > [snip] > >> >> - ret = write_archive(argc, argv, prefix, the_repository, output, 0); >> + ret = write_archive(argc, argv, prefix, repo, output, 0); >> > > When I read this new series, I feel quite strange for why we only change > "the_repository" to "repo". After reading the comments from [PATCH v2 4/4], > I have understood the context. > > I think we should improve the commit message to take about we decide to > remove the "the_repository" from "archive.c" code unless it will bring a > lot of confusion for the reader.
Sounds good. I will add more explanation for why we are making the change.
> > Thanks, > Jialuo
Thanks John