Skip to content

Commit ee77788

Browse files
committed
Merge branch 'built-in-stash-and-add-p'
Now that we have a built-in `git add -p` and a built-in `git stash`, make them play nicely together. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 59a40ee + d8850d4 commit ee77788

28 files changed

+3449
-91
lines changed

Documentation/config/add.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ add.ignore-errors (deprecated)::
55
option of linkgit:git-add[1]. `add.ignore-errors` is deprecated,
66
as it does not follow the usual naming convention for configuration
77
variables.
8+
9+
add.interactive.useBuiltin::
10+
[EXPERIMENTAL] Set to `true` to use the experimental built-in
11+
implementation of the interactive version of linkgit:git-add[1]
12+
instead of the Perl script version. Is `false` by default.

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ TEST_BUILTINS_OBJS += test-online-cpus.o
757757
TEST_BUILTINS_OBJS += test-parse-options.o
758758
TEST_BUILTINS_OBJS += test-path-utils.o
759759
TEST_BUILTINS_OBJS += test-pkt-line.o
760+
TEST_BUILTINS_OBJS += test-prefix-map.o
760761
TEST_BUILTINS_OBJS += test-prio-queue.o
761762
TEST_BUILTINS_OBJS += test-reach.o
762763
TEST_BUILTINS_OBJS += test-read-cache.o
@@ -852,6 +853,8 @@ LIB_H := $(shell git ls-files '*.h' ':!t/' ':!Documentation/' 2>/dev/null || \
852853
-name '*.h' -print)
853854

854855
LIB_OBJS += abspath.o
856+
LIB_OBJS += add-interactive.o
857+
LIB_OBJS += add-patch.o
855858
LIB_OBJS += advice.o
856859
LIB_OBJS += alias.o
857860
LIB_OBJS += alloc.o
@@ -970,6 +973,7 @@ LIB_OBJS += patch-ids.o
970973
LIB_OBJS += path.o
971974
LIB_OBJS += pathspec.o
972975
LIB_OBJS += pkt-line.o
976+
LIB_OBJS += prefix-map.o
973977
LIB_OBJS += preload-index.o
974978
LIB_OBJS += pretty.o
975979
LIB_OBJS += prio-queue.o

0 commit comments

Comments
 (0)