git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] add: Use struct argv_array in run_add_interactive()

From
Fabian Ruch <bafain@gmail.com>
Date
Mar 15, 2014, 12:41 UTC
Message-ID
<53244A95.8050308@gmail.com>
In-Reply-To
<53243620.8080401@gmail.com>
On 03/15/2014 12:14 PM, Fabian Ruch wrote:
Show 8 quoted lines
> run_add_interactive() in builtin/add.c manually computes array bounds
> and allocates a static args array to build the add--interactive command
> line, which is error-prone. Use the argv-array helper functions instead.
> 
> Signed-off-by: Fabian Ruch <bafain@gmail.com>
> ---
>  builtin/add.c | 21 ++++++++++-----------
>  1 file changed, 10 insertions(+), 11 deletions(-)

I should mention that I am applying to this year's edition of Google's Summer of Code.

Previous: Fabian RuchNext: Thomas Rast
Message 2 of 4 in “add: Use struct argv_array in run_add_interactive()”
  1. add: Use struct argv_array in run_add_interactive()Fabian Ruch, Mar 15, 2014
  2. Fabian RuchMar 15, 2014
  3. Thomas RastMar 16, 2014
  4. Eric SunshineMar 17, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.