aboutsummaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorClaus Schneider(Eficode) <claus.schneider@eficode.com>2026-02-06 13:22:56 +0000
committerJunio C Hamano <gitster@pobox.com>2026-02-06 09:43:26 -0800
commit37196d8995ee60e08230c5d05dfd26204d604580 (patch)
treec6eba8a9a719e6870b0e4be0fcc424fc37c78bea /builtin/add.c
parent8745eae506f700657882b9e32b2aa00f234a6fb6 (diff)
downloadgit-37196d8995ee60e08230c5d05dfd26204d604580.tar.xz
read-cache: update add_files_to_cache take param ignored_too
The ignored_too parameter is added to the function add_files_to_cache for usage of explicit updating the index for the updated submodule using the explicit patchspec to the submodule. Signed-off-by: Claus Schneider(Eficode) <claus.schneider@eficode.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
-rw-r--r--builtin/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/add.c b/builtin/add.c
index 32709794b3..eef4959ee3 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -584,7 +584,7 @@ int cmd_add(int argc,
else
exit_status |= add_files_to_cache(repo, prefix,
&pathspec, ps_matched,
- include_sparse, flags);
+ include_sparse, flags, ignored_too);
if (take_worktree_changes && !add_renormalize && !ignore_add_errors &&
report_path_error(ps_matched, &pathspec))