Skip to content

Port git-add--interactive.perl:status_cmd to C

Daniel Ferreira git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v13 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4diff: export diffstat interfacediff.c diff.h+19 -170 replies
2/4add--helper: create builtin helper for interactive add.gitignore Makefile builtin.h +2 more+10 -00 replies
3/4add--helper: implement interactive status commandbuiltin/add--helper.c+279 -01 reply
4/4add--interactive: use add-interactive--helper for status_cmdgit-add--interactive.perl+1 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]/

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)