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

[PATCH v2 0/4] Port git-add--interactive.perl:status_cmd to C

From
Daniel Ferreira <bnmvco@gmail.com>
Date
May 16, 2017, 04:00 UTC
Message-ID
<1494907234-28903-1-git-send-email-bnmvco@gmail.com>

This is the second version of a patch series to start porting git-add--interactive from Perl to C.

Series: v1: https://public-inbox.org/git/1494009820-2090-1-git-send-email-bnmvco@gmail.com/

Travis CI build: https://travis-ci.org/theiostream/git/builds/232669894

I have applied most of the changes suggested by Johannes and Ævar (thank you!). The one exception was Johannes' request to make this a WIP patch series with a sort-of "design" of what's next to come. I did not do this because I still have no clue...! I'll begin experimenting on update_cmd() to see if I gain some insight on this issue that I could bring to this series. I do think this would be a good idea, though! :)

-- Daniel.
Daniel Ferreira (4):
  diff: export diffstat interface
  add--helper: create builtin helper for interactive add
  add--helper: implement interactive status command
  add--interactive: use add-interactive--helper for status_cmd
 .gitignore                |   1 +
 Makefile                  |   1 +
 builtin.h                 |   1 +
 builtin/add--helper.c     | 285 ++++++++++++++++++++++++++++++++++++++++++++++
 diff.c                    |  17 +--
 diff.h                    |  19 +++-
 git-add--interactive.perl |   4 +-
 git.c                     |   1 +
 8 files changed, 309 insertions(+), 20 deletions(-)
 create mode 100644 builtin/add--helper.c

-- 2.7.4 (Apple Git-66)

Next: Daniel Ferreira
Message 1 of 7 in “Port git-add--interactive.perl:status_cmd to C”
  1. 0/4 Port git-add--interactive.perl:status_cmd to CDaniel Ferreira, May 16, 2017
  2. 1/4 diff: export diffstat interfaceDaniel Ferreira, May 16, 2017
  3. 2/4 add--helper: create builtin helper for interactive addDaniel Ferreira, May 16, 2017
  4. 3/4 add--helper: implement interactive status commandDaniel Ferreira, May 16, 2017
  5. Junio C HamanoMay 16, 2017
  6. 4/4 add--interactive: use add-interactive--helper for status_cmdDaniel Ferreira, May 16, 2017
  7. Slavica DjukicNov 26, 2018

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.