Skip to content

Commit 2ba0ac9

Browse files
committed
edit file path
1 parent 516e726 commit 2ba0ac9

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

test/data/status_data/embedded_git/config

100644100755
File mode changed.
-19 Bytes
Binary file not shown.

test/data/status_data/embedded_git/logs/HEAD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ ee8c4cf874c4f1e3ba755f929fe7811018adee3d cba545ef5cc4ddf12a9744b6a49b20dda1ef1d5
1313
cba545ef5cc4ddf12a9744b6a49b20dda1ef1d5c ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 reset: moving to ee8c4cf874c4f1e3ba755f929fe7811018adee3d
1414
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 checkout: moving from commit_test_branch to main
1515
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 checkout: moving from main to commit_test_branch
16+
ee8c4cf874c4f1e3ba755f929fe7811018adee3d 75743dcbd85064226c77a0b862af817838ae0b2e Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 reset: moving to 75743dcbd85064226c77a0b862af817838ae0b2e
17+
75743dcbd85064226c77a0b862af817838ae0b2e ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 checkout: moving from commit_test_branch to main
18+
ee8c4cf874c4f1e3ba755f929fe7811018adee3d ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 checkout: moving from main to commit_test_branch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0000000000000000000000000000000000000000 ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753887505 +0200 branch: Created from ee8c4cf874c4f1e3ba755f929fe7811018adee3d
1+
0000000000000000000000000000000000000000 ee8c4cf874c4f1e3ba755f929fe7811018adee3d Sandrine Pataut <pataut.sandrine@gmail.com> 1753888486 +0200 branch: Created from ee8c4cf874c4f1e3ba755f929fe7811018adee3d

test/mook_file.txt

Whitespace-only changes.

test/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ def test_commit(rename_git, git2cpp_path, all_flag):
99
checkout_cmd = [git2cpp_path, 'checkout', '-b', 'commit_test_branch']
1010
subprocess.run(checkout_cmd, cwd="test/data/status_data", text=True)
1111

12-
with open("./test/mook_file.txt", "x"):
12+
with open("./test/data/status_data/mook_file.txt", "x"):
1313
pass
1414

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

1818
cmd_status = [git2cpp_path, 'status', "--long"]

0 commit comments

Comments
 (0)