Skip to content
Prev Previous commit
Next Next commit
edit file path
  • Loading branch information
SandrineP committed Jul 30, 2025
commit 2ba0ac9033a939f5672b89c965ffcbede059627e
Empty file modified test/data/status_data/embedded_git/config
100644 → 100755
Empty file.
Binary file modified test/data/status_data/embedded_git/index
Binary file not shown.
3 changes: 3 additions & 0 deletions test/data/status_data/embedded_git/logs/HEAD
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ ee8c4cf874c4f1e3ba755f929fe7811018adee3d cba545ef5cc4ddf12a9744b6a49b20dda1ef1d5
cba545ef5cc4ddf12a9744b6a49b20dda1ef1d5c ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 reset: moving to ee8c4cf874c4f1e3ba755f929fe7811018adee3d
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 checkout: moving from commit_test_branch to main
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 checkout: moving from main to commit_test_branch
ee8c4cf874c4f1e3ba755f929fe7811018adee3d 75743dcbd85064226c77a0b862af817838ae0b2e Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 reset: moving to 75743dcbd85064226c77a0b862af817838ae0b2e
75743dcbd85064226c77a0b862af817838ae0b2e ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 checkout: moving from commit_test_branch to main
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 checkout: moving from main to commit_test_branch
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0000000000000000000000000000000000000000 ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 branch: Created from ee8c4cf874c4f1e3ba755f929fe7811018adee3d
0000000000000000000000000000000000000000 ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 branch: Created from ee8c4cf874c4f1e3ba755f929fe7811018adee3d
Empty file removed test/mook_file.txt
Empty file.
4 changes: 2 additions & 2 deletions test/test_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ def test_commit(rename_git, git2cpp_path, all_flag):
checkout_cmd = [git2cpp_path, 'checkout', '-b', 'commit_test_branch']
subprocess.run(checkout_cmd, cwd="test/data/status_data", text=True)

with open("./test/mook_file.txt", "x"):
with open("./test/data/status_data/mook_file.txt", "x"):
pass

cmd_add = [git2cpp_path, 'add', "test/mook_file.txt"]
cmd_add = [git2cpp_path, 'add', "mook_file.txt"]
subprocess.run(cmd_add, cwd="test/data/status_data", text=True)

cmd_status = [git2cpp_path, 'status', "--long"]
Expand Down
Loading