diff options
Diffstat (limited to '')
53 files changed, 50 insertions, 0 deletions
diff --git a/tests/resources/status/.gitted/COMMIT_EDITMSG b/tests/resources/status/.gitted/COMMIT_EDITMSG new file mode 100644 index 0000000..1a25cd4 --- /dev/null +++ b/tests/resources/status/.gitted/COMMIT_EDITMSG @@ -0,0 +1 @@ +Add a file which name should appear before the "subdir/" folder while being dealt with by the treewalker diff --git a/tests/resources/status/.gitted/HEAD b/tests/resources/status/.gitted/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/tests/resources/status/.gitted/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/tests/resources/status/.gitted/ORIG_HEAD b/tests/resources/status/.gitted/ORIG_HEAD new file mode 100644 index 0000000..b46871f --- /dev/null +++ b/tests/resources/status/.gitted/ORIG_HEAD @@ -0,0 +1 @@ +735b6a258cd196a8f7c9428419b02c1dca93fd75 diff --git a/tests/resources/status/.gitted/config b/tests/resources/status/.gitted/config new file mode 100644 index 0000000..af10792 --- /dev/null +++ b/tests/resources/status/.gitted/config @@ -0,0 +1,6 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true + ignorecase = true diff --git a/tests/resources/status/.gitted/description b/tests/resources/status/.gitted/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/tests/resources/status/.gitted/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/tests/resources/status/.gitted/index b/tests/resources/status/.gitted/index Binary files differnew file mode 100644 index 0000000..2af99a1 --- /dev/null +++ b/tests/resources/status/.gitted/index diff --git a/tests/resources/status/.gitted/info/exclude b/tests/resources/status/.gitted/info/exclude new file mode 100644 index 0000000..0c4042a --- /dev/null +++ b/tests/resources/status/.gitted/info/exclude @@ -0,0 +1,8 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ +ignored* + diff --git a/tests/resources/status/.gitted/logs/HEAD b/tests/resources/status/.gitted/logs/HEAD new file mode 100644 index 0000000..7b95b3c --- /dev/null +++ b/tests/resources/status/.gitted/logs/HEAD @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 0017bd4ab1ec30440b17bae1680cff124ab5f1f6 Jason Penny <jasonpenny4@gmail.com> 1308050070 -0400 commit (initial): initial +0017bd4ab1ec30440b17bae1680cff124ab5f1f6 735b6a258cd196a8f7c9428419b02c1dca93fd75 Jason Penny <jasonpenny4@gmail.com> 1308954538 -0400 commit: add subdir +735b6a258cd196a8f7c9428419b02c1dca93fd75 26a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f nulltoken <emeric.fermas@gmail.com> 1319911544 +0200 commit: Add a file which name should appear before the "subdir/" folder while being dealt with by the treewalker diff --git a/tests/resources/status/.gitted/logs/refs/heads/master b/tests/resources/status/.gitted/logs/refs/heads/master new file mode 100644 index 0000000..7b95b3c --- /dev/null +++ b/tests/resources/status/.gitted/logs/refs/heads/master @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 0017bd4ab1ec30440b17bae1680cff124ab5f1f6 Jason Penny <jasonpenny4@gmail.com> 1308050070 -0400 commit (initial): initial +0017bd4ab1ec30440b17bae1680cff124ab5f1f6 735b6a258cd196a8f7c9428419b02c1dca93fd75 Jason Penny <jasonpenny4@gmail.com> 1308954538 -0400 commit: add subdir +735b6a258cd196a8f7c9428419b02c1dca93fd75 26a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f nulltoken <emeric.fermas@gmail.com> 1319911544 +0200 commit: Add a file which name should appear before the "subdir/" folder while being dealt with by the treewalker diff --git a/tests/resources/status/.gitted/objects/00/17bd4ab1ec30440b17bae1680cff124ab5f1f6 b/tests/resources/status/.gitted/objects/00/17bd4ab1ec30440b17bae1680cff124ab5f1f6 new file mode 100644 index 0000000..b256d95 --- /dev/null +++ b/tests/resources/status/.gitted/objects/00/17bd4ab1ec30440b17bae1680cff124ab5f1f6 @@ -0,0 +1,2 @@ +xA E]sfh)1] +#STWpK^~9ܡ-"C')Fvbv"wEk{nRί6#sOpD663WxV?9
\ No newline at end of file diff --git a/tests/resources/status/.gitted/objects/06/1d42a44cacde5726057b67558821d95db96f19 b/tests/resources/status/.gitted/objects/06/1d42a44cacde5726057b67558821d95db96f19 Binary files differnew file mode 100644 index 0000000..82e02cb --- /dev/null +++ b/tests/resources/status/.gitted/objects/06/1d42a44cacde5726057b67558821d95db96f19 diff --git a/tests/resources/status/.gitted/objects/18/88c805345ba265b0ee9449b8877b6064592058 b/tests/resources/status/.gitted/objects/18/88c805345ba265b0ee9449b8877b6064592058 Binary files differnew file mode 100644 index 0000000..e3cad2f --- /dev/null +++ b/tests/resources/status/.gitted/objects/18/88c805345ba265b0ee9449b8877b6064592058 diff --git a/tests/resources/status/.gitted/objects/19/d9cc8584ac2c7dcf57d2680375e80f099dc481 b/tests/resources/status/.gitted/objects/19/d9cc8584ac2c7dcf57d2680375e80f099dc481 Binary files differnew file mode 100644 index 0000000..2d5e711 --- /dev/null +++ b/tests/resources/status/.gitted/objects/19/d9cc8584ac2c7dcf57d2680375e80f099dc481 diff --git a/tests/resources/status/.gitted/objects/26/a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f b/tests/resources/status/.gitted/objects/26/a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f new file mode 100644 index 0000000..f7dddc4 --- /dev/null +++ b/tests/resources/status/.gitted/objects/26/a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f @@ -0,0 +1,2 @@ +xMn )V (̀BDLЍRȷވ@,9̜tNj6f`M6Z;h
Zp ڙY,37/;42x&<z
#^ +䮁ZQ0嫫pޙ`l?{@)1+=#ö6j#֧qP>gϟۉIm|j
\ No newline at end of file diff --git a/tests/resources/status/.gitted/objects/2b/d0a343aeef7a2cf0d158478966a6e587ff3863 b/tests/resources/status/.gitted/objects/2b/d0a343aeef7a2cf0d158478966a6e587ff3863 Binary files differnew file mode 100644 index 0000000..d10ca63 --- /dev/null +++ b/tests/resources/status/.gitted/objects/2b/d0a343aeef7a2cf0d158478966a6e587ff3863 diff --git a/tests/resources/status/.gitted/objects/32/504b727382542f9f089e24fddac5e78533e96c b/tests/resources/status/.gitted/objects/32/504b727382542f9f089e24fddac5e78533e96c Binary files differnew file mode 100644 index 0000000..7fca67b --- /dev/null +++ b/tests/resources/status/.gitted/objects/32/504b727382542f9f089e24fddac5e78533e96c diff --git a/tests/resources/status/.gitted/objects/37/fcb02ccc1a85d1941e7f106d52dc3702dcf0d0 b/tests/resources/status/.gitted/objects/37/fcb02ccc1a85d1941e7f106d52dc3702dcf0d0 Binary files differnew file mode 100644 index 0000000..b75481b --- /dev/null +++ b/tests/resources/status/.gitted/objects/37/fcb02ccc1a85d1941e7f106d52dc3702dcf0d0 diff --git a/tests/resources/status/.gitted/objects/45/2e4244b5d083ddf0460acf1ecc74db9dcfa11a b/tests/resources/status/.gitted/objects/45/2e4244b5d083ddf0460acf1ecc74db9dcfa11a Binary files differnew file mode 100644 index 0000000..5b47461 --- /dev/null +++ b/tests/resources/status/.gitted/objects/45/2e4244b5d083ddf0460acf1ecc74db9dcfa11a diff --git a/tests/resources/status/.gitted/objects/52/9a16e8e762d4acb7b9636ff540a00831f9155a b/tests/resources/status/.gitted/objects/52/9a16e8e762d4acb7b9636ff540a00831f9155a Binary files differnew file mode 100644 index 0000000..615009a --- /dev/null +++ b/tests/resources/status/.gitted/objects/52/9a16e8e762d4acb7b9636ff540a00831f9155a diff --git a/tests/resources/status/.gitted/objects/53/ace0d1cc1145a5f4fe4f78a186a60263190733 b/tests/resources/status/.gitted/objects/53/ace0d1cc1145a5f4fe4f78a186a60263190733 Binary files differnew file mode 100644 index 0000000..cdb7e96 --- /dev/null +++ b/tests/resources/status/.gitted/objects/53/ace0d1cc1145a5f4fe4f78a186a60263190733 diff --git a/tests/resources/status/.gitted/objects/54/52d32f1dd538eb0405e8a83cc185f79e25e80f b/tests/resources/status/.gitted/objects/54/52d32f1dd538eb0405e8a83cc185f79e25e80f Binary files differnew file mode 100644 index 0000000..a72dff6 --- /dev/null +++ b/tests/resources/status/.gitted/objects/54/52d32f1dd538eb0405e8a83cc185f79e25e80f diff --git a/tests/resources/status/.gitted/objects/55/d316c9ba708999f1918e9677d01dfcae69c6b9 b/tests/resources/status/.gitted/objects/55/d316c9ba708999f1918e9677d01dfcae69c6b9 Binary files differnew file mode 100644 index 0000000..72807f3 --- /dev/null +++ b/tests/resources/status/.gitted/objects/55/d316c9ba708999f1918e9677d01dfcae69c6b9 diff --git a/tests/resources/status/.gitted/objects/70/bd9443ada07063e7fbf0b3ff5c13f7494d89c2 b/tests/resources/status/.gitted/objects/70/bd9443ada07063e7fbf0b3ff5c13f7494d89c2 Binary files differnew file mode 100644 index 0000000..3665a8f --- /dev/null +++ b/tests/resources/status/.gitted/objects/70/bd9443ada07063e7fbf0b3ff5c13f7494d89c2 diff --git a/tests/resources/status/.gitted/objects/73/5b6a258cd196a8f7c9428419b02c1dca93fd75 b/tests/resources/status/.gitted/objects/73/5b6a258cd196a8f7c9428419b02c1dca93fd75 Binary files differnew file mode 100644 index 0000000..08e6fd2 --- /dev/null +++ b/tests/resources/status/.gitted/objects/73/5b6a258cd196a8f7c9428419b02c1dca93fd75 diff --git a/tests/resources/status/.gitted/objects/75/6e27627e67bfbc048d01ece5819c6de733d7ea b/tests/resources/status/.gitted/objects/75/6e27627e67bfbc048d01ece5819c6de733d7ea Binary files differnew file mode 100644 index 0000000..8f3fa89 --- /dev/null +++ b/tests/resources/status/.gitted/objects/75/6e27627e67bfbc048d01ece5819c6de733d7ea diff --git a/tests/resources/status/.gitted/objects/90/6ee7711f4f4928ddcb2a5f8fbc500deba0d2a8 b/tests/resources/status/.gitted/objects/90/6ee7711f4f4928ddcb2a5f8fbc500deba0d2a8 Binary files differnew file mode 100644 index 0000000..bb732b0 --- /dev/null +++ b/tests/resources/status/.gitted/objects/90/6ee7711f4f4928ddcb2a5f8fbc500deba0d2a8 diff --git a/tests/resources/status/.gitted/objects/90/b8c29d8ba39434d1c63e1b093daaa26e5bd972 b/tests/resources/status/.gitted/objects/90/b8c29d8ba39434d1c63e1b093daaa26e5bd972 Binary files differnew file mode 100644 index 0000000..7a96618 --- /dev/null +++ b/tests/resources/status/.gitted/objects/90/b8c29d8ba39434d1c63e1b093daaa26e5bd972 diff --git a/tests/resources/status/.gitted/objects/9c/2e02cdffa8d73e6c189074594477a6baf87960 b/tests/resources/status/.gitted/objects/9c/2e02cdffa8d73e6c189074594477a6baf87960 Binary files differnew file mode 100644 index 0000000..20a3c49 --- /dev/null +++ b/tests/resources/status/.gitted/objects/9c/2e02cdffa8d73e6c189074594477a6baf87960 diff --git a/tests/resources/status/.gitted/objects/a0/de7e0ac200c489c41c59dfa910154a70264e6e b/tests/resources/status/.gitted/objects/a0/de7e0ac200c489c41c59dfa910154a70264e6e Binary files differnew file mode 100644 index 0000000..a1789c9 --- /dev/null +++ b/tests/resources/status/.gitted/objects/a0/de7e0ac200c489c41c59dfa910154a70264e6e diff --git a/tests/resources/status/.gitted/objects/a6/191982709b746d5650e93c2acf34ef74e11504 b/tests/resources/status/.gitted/objects/a6/191982709b746d5650e93c2acf34ef74e11504 Binary files differnew file mode 100644 index 0000000..cc1f377 --- /dev/null +++ b/tests/resources/status/.gitted/objects/a6/191982709b746d5650e93c2acf34ef74e11504 diff --git a/tests/resources/status/.gitted/objects/a6/be623522ce87a1d862128ac42672604f7b468b b/tests/resources/status/.gitted/objects/a6/be623522ce87a1d862128ac42672604f7b468b Binary files differnew file mode 100644 index 0000000..c472983 --- /dev/null +++ b/tests/resources/status/.gitted/objects/a6/be623522ce87a1d862128ac42672604f7b468b diff --git a/tests/resources/status/.gitted/objects/aa/27a641456848200fdb7f7c99ba36f8a0952877 b/tests/resources/status/.gitted/objects/aa/27a641456848200fdb7f7c99ba36f8a0952877 Binary files differnew file mode 100644 index 0000000..a4669cc --- /dev/null +++ b/tests/resources/status/.gitted/objects/aa/27a641456848200fdb7f7c99ba36f8a0952877 diff --git a/tests/resources/status/.gitted/objects/d4/27e0b2e138501a3d15cc376077a3631e15bd46 b/tests/resources/status/.gitted/objects/d4/27e0b2e138501a3d15cc376077a3631e15bd46 Binary files differnew file mode 100644 index 0000000..0b3611a --- /dev/null +++ b/tests/resources/status/.gitted/objects/d4/27e0b2e138501a3d15cc376077a3631e15bd46 diff --git a/tests/resources/status/.gitted/objects/da/bc8af9bd6e9f5bbe96a176f1a24baf3d1f8916 b/tests/resources/status/.gitted/objects/da/bc8af9bd6e9f5bbe96a176f1a24baf3d1f8916 Binary files differnew file mode 100644 index 0000000..3e3c03c --- /dev/null +++ b/tests/resources/status/.gitted/objects/da/bc8af9bd6e9f5bbe96a176f1a24baf3d1f8916 diff --git a/tests/resources/status/.gitted/objects/e8/ee89e15bbe9b20137715232387b3de5b28972e b/tests/resources/status/.gitted/objects/e8/ee89e15bbe9b20137715232387b3de5b28972e Binary files differnew file mode 100644 index 0000000..cfc2413 --- /dev/null +++ b/tests/resources/status/.gitted/objects/e8/ee89e15bbe9b20137715232387b3de5b28972e diff --git a/tests/resources/status/.gitted/objects/e9/b9107f290627c04d097733a10055af941f6bca b/tests/resources/status/.gitted/objects/e9/b9107f290627c04d097733a10055af941f6bca Binary files differnew file mode 100644 index 0000000..1266d3e --- /dev/null +++ b/tests/resources/status/.gitted/objects/e9/b9107f290627c04d097733a10055af941f6bca diff --git a/tests/resources/status/.gitted/objects/ed/062903b8f6f3dccb2fa81117ba6590944ef9bd b/tests/resources/status/.gitted/objects/ed/062903b8f6f3dccb2fa81117ba6590944ef9bd Binary files differnew file mode 100644 index 0000000..8fa8c17 --- /dev/null +++ b/tests/resources/status/.gitted/objects/ed/062903b8f6f3dccb2fa81117ba6590944ef9bd diff --git a/tests/resources/status/.gitted/objects/ee/3fa1b8c00aff7fe02065fdb50864bb0d932ccf b/tests/resources/status/.gitted/objects/ee/3fa1b8c00aff7fe02065fdb50864bb0d932ccf Binary files differnew file mode 100644 index 0000000..974b72d --- /dev/null +++ b/tests/resources/status/.gitted/objects/ee/3fa1b8c00aff7fe02065fdb50864bb0d932ccf diff --git a/tests/resources/status/.gitted/refs/heads/master b/tests/resources/status/.gitted/refs/heads/master new file mode 100644 index 0000000..3e2e2a0 --- /dev/null +++ b/tests/resources/status/.gitted/refs/heads/master @@ -0,0 +1 @@ +26a125ee1bfc5df1e1b2e9441bbe63c8a7ae989f diff --git a/tests/resources/status/current_file b/tests/resources/status/current_file new file mode 100644 index 0000000..a0de7e0 --- /dev/null +++ b/tests/resources/status/current_file @@ -0,0 +1 @@ +current_file diff --git a/tests/resources/status/ignored_file b/tests/resources/status/ignored_file new file mode 100644 index 0000000..6a79f80 --- /dev/null +++ b/tests/resources/status/ignored_file @@ -0,0 +1 @@ +ignored_file diff --git a/tests/resources/status/modified_file b/tests/resources/status/modified_file new file mode 100644 index 0000000..0a53963 --- /dev/null +++ b/tests/resources/status/modified_file @@ -0,0 +1,2 @@ +modified_file +modified_file diff --git a/tests/resources/status/new_file b/tests/resources/status/new_file new file mode 100644 index 0000000..d4fa860 --- /dev/null +++ b/tests/resources/status/new_file @@ -0,0 +1 @@ +new_file diff --git a/tests/resources/status/staged_changes b/tests/resources/status/staged_changes new file mode 100644 index 0000000..55d316c --- /dev/null +++ b/tests/resources/status/staged_changes @@ -0,0 +1,2 @@ +staged_changes +staged_changes diff --git a/tests/resources/status/staged_changes_modified_file b/tests/resources/status/staged_changes_modified_file new file mode 100644 index 0000000..011c344 --- /dev/null +++ b/tests/resources/status/staged_changes_modified_file @@ -0,0 +1,3 @@ +staged_changes_modified_file +staged_changes_modified_file +staged_changes_modified_file diff --git a/tests/resources/status/staged_delete_modified_file b/tests/resources/status/staged_delete_modified_file new file mode 100644 index 0000000..dabc8af --- /dev/null +++ b/tests/resources/status/staged_delete_modified_file @@ -0,0 +1 @@ +staged_delete_modified_file diff --git a/tests/resources/status/staged_new_file b/tests/resources/status/staged_new_file new file mode 100644 index 0000000..529a16e --- /dev/null +++ b/tests/resources/status/staged_new_file @@ -0,0 +1 @@ +staged_new_file diff --git a/tests/resources/status/staged_new_file_modified_file b/tests/resources/status/staged_new_file_modified_file new file mode 100644 index 0000000..8b090c0 --- /dev/null +++ b/tests/resources/status/staged_new_file_modified_file @@ -0,0 +1,2 @@ +staged_new_file_modified_file +staged_new_file_modified_file diff --git a/tests/resources/status/subdir.txt b/tests/resources/status/subdir.txt new file mode 100644 index 0000000..e8ee89e --- /dev/null +++ b/tests/resources/status/subdir.txt @@ -0,0 +1,2 @@ +Is it a bird? +Is it a plane? diff --git a/tests/resources/status/subdir/current_file b/tests/resources/status/subdir/current_file new file mode 100644 index 0000000..53ace0d --- /dev/null +++ b/tests/resources/status/subdir/current_file @@ -0,0 +1 @@ +subdir/current_file diff --git a/tests/resources/status/subdir/modified_file b/tests/resources/status/subdir/modified_file new file mode 100644 index 0000000..57274b7 --- /dev/null +++ b/tests/resources/status/subdir/modified_file @@ -0,0 +1,2 @@ +subdir/modified_file +subdir/modified_file diff --git a/tests/resources/status/subdir/new_file b/tests/resources/status/subdir/new_file new file mode 100644 index 0000000..80a86a6 --- /dev/null +++ b/tests/resources/status/subdir/new_file @@ -0,0 +1 @@ +subdir/new_file diff --git a/tests/resources/status/这 b/tests/resources/status/这 new file mode 100644 index 0000000..f0ff9a1 --- /dev/null +++ b/tests/resources/status/这 @@ -0,0 +1 @@ +This |