]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'js/add-p-in-c'
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Dec 2019 19:22:00 +0000 (11:22 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Dec 2019 19:22:01 +0000 (11:22 -0800)
commit45b96a6fa1ce2009f82d2ea1698b49fda0c11169
treeaf4794f1aeb7ebe2ad500bec4f66205d82cbd245
parentccc292e8620ecea28044166ac1189ccf6edfc6c7
parent2e4083198d1508206488af4c82093ceb6cf20f4e
Merge branch 'js/add-p-in-c'

The effort to move "git-add--interactive" to C continues.

* js/add-p-in-c:
  built-in add -p: show helpful hint when nothing can be staged
  built-in add -p: only show the applicable parts of the help text
  built-in add -p: implement the 'q' ("quit") command
  built-in add -p: implement the '/' ("search regex") command
  built-in add -p: implement the 'g' ("goto") command
  built-in add -p: implement hunk editing
  strbuf: add a helper function to call the editor "on an strbuf"
  built-in add -p: coalesce hunks after splitting them
  built-in add -p: implement the hunk splitting feature
  built-in add -p: show different prompts for mode changes and deletions
  built-in app -p: allow selecting a mode change as a "hunk"
  built-in add -p: handle deleted empty files
  built-in add -p: support multi-file diffs
  built-in add -p: offer a helpful error message when hunk navigation failed
  built-in add -p: color the prompt and the help text
  built-in add -p: adjust hunk headers as needed
  built-in add -p: show colored hunks by default
  built-in add -i: wire up the new C code for the `patch` command
  built-in add -i: start implementing the `patch` functionality in C
Makefile
builtin/add.c