Skip to content

Commit f07b2e7

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 5db24cf + eaffa4f commit f07b2e7

28 files changed

+3448
-69
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
@@ -730,6 +730,7 @@ TEST_BUILTINS_OBJS += test-online-cpus.o
730730
TEST_BUILTINS_OBJS += test-parse-options.o
731731
TEST_BUILTINS_OBJS += test-path-utils.o
732732
TEST_BUILTINS_OBJS += test-pkt-line.o
733+
TEST_BUILTINS_OBJS += test-prefix-map.o
733734
TEST_BUILTINS_OBJS += test-prio-queue.o
734735
TEST_BUILTINS_OBJS += test-reach.o
735736
TEST_BUILTINS_OBJS += test-read-cache.o
@@ -827,6 +828,8 @@ LIB_H := $(shell git ls-files '*.h' ':!t/' ':!Documentation/' 2>/dev/null || \
827828
-name '*.h' -print)
828829

829830
LIB_OBJS += abspath.o
831+
LIB_OBJS += add-interactive.o
832+
LIB_OBJS += add-patch.o
830833
LIB_OBJS += advice.o
831834
LIB_OBJS += alias.o
832835
LIB_OBJS += alloc.o
@@ -945,6 +948,7 @@ LIB_OBJS += patch-ids.o
945948
LIB_OBJS += path.o
946949
LIB_OBJS += pathspec.o
947950
LIB_OBJS += pkt-line.o
951+
LIB_OBJS += prefix-map.o
948952
LIB_OBJS += preload-index.o
949953
LIB_OBJS += pretty.o
950954
LIB_OBJS += prio-queue.o

0 commit comments

Comments
 (0)