Skip to content

Commit fab604b

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
fixup??? built-in add -i: re-implement add-untracked in C
Needed by `ds/include-exclude`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 989188e commit fab604b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

add-interactive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ static int get_untracked_files(struct repository *r, struct file_list *list,
731731
return error(_("could not read index"));
732732

733733
setup_standard_excludes(&dir);
734-
add_exclude_list(&dir, EXC_CMDL, "--exclude option");
734+
add_pattern_list(&dir, EXC_CMDL, "--exclude option");
735735
fill_directory(&dir, r->index, ps);
736736

737737
for (i = 0; i < dir.nr; i++) {

0 commit comments

Comments
 (0)