Skip to content

Commit 75f8c47

Browse files
committed
fix typo
1 parent ccb3077 commit 75f8c47

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/subcommand/add_subcommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ void add_subcommand::run()
3434
}
3535
else
3636
{
37-
index.add_entry(add_files);
37+
index.add_entries(add_files);
3838
}
3939
}

src/wrapper/index_wrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include "../utils/git_exception.hpp"
33
#include "../wrapper/repository_wrapper.hpp"
44

5-
#include <iostream>
65
#include <vector>
76

87
index_wrapper::~index_wrapper()

test/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ def test_add(git2cpp_path, all_flag):
3333

3434
os.remove("./test/mook_file.txt")
3535
os.remove("./test/mook_file_2.txt")
36-
subprocess.run(cmd_add, capture_output=True, text=True) # TODO: replace with a reset when implemented ?
36+
subprocess.run(cmd_add, capture_output=True, text=True)

0 commit comments

Comments
 (0)