1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-27 22:01:46 +02:00

also test for empty prefill after successful commit

This commit is contained in:
Jakob Kogler 2021-12-28 11:13:26 +01:00 committed by Jesse Duffield
parent ee7a6391a8
commit 673c4a1296
21 changed files with 12 additions and 12 deletions

View File

@ -1 +1,2 @@
0000000000000000000000000000000000000000 9f4585854e11586ddf73ccab01b7a113b73b022b CI <CI@example.com> 1638960048 +0100 commit (initial): test
0000000000000000000000000000000000000000 c2bf9b666a310383fd7095bc5bd993bba11b040e CI <CI@example.com> 1640438057 +0100 commit (initial): first commit
c2bf9b666a310383fd7095bc5bd993bba11b040e d0ce4cb10cd926f646a08889b077a6d7eddd3534 CI <CI@example.com> 1640438062 +0100 commit: second commit

View File

@ -1 +1,2 @@
0000000000000000000000000000000000000000 9f4585854e11586ddf73ccab01b7a113b73b022b CI <CI@example.com> 1638960048 +0100 commit (initial): test
0000000000000000000000000000000000000000 c2bf9b666a310383fd7095bc5bd993bba11b040e CI <CI@example.com> 1640438057 +0100 commit (initial): first commit
c2bf9b666a310383fd7095bc5bd993bba11b040e d0ce4cb10cd926f646a08889b077a6d7eddd3534 CI <CI@example.com> 1640438062 +0100 commit: second commit

View File

@ -1,4 +0,0 @@
x��K
Β0@]η³db†t
"BW=F>3("u„Ώ9‚ΫΗ{Ό�[{x
'ΫD€g��“�R•¦kE¥D¤2z¬S.�³K?{φ –nΛϊ�=µΟ[.¥·;ψx��ΔpΊAΗΔδOέ™|Νθd,r

View File

@ -1 +1 @@
9f4585854e11586ddf73ccab01b7a113b73b022b
d0ce4cb10cd926f646a08889b077a6d7eddd3534

View File

@ -0,0 +1 @@
file2

View File

@ -1 +1 @@
{"KeyEvents":[{"Timestamp":1916,"Mod":0,"Key":256,"Ch":97},{"Timestamp":3421,"Mod":0,"Key":256,"Ch":99},{"Timestamp":3985,"Mod":0,"Key":256,"Ch":116},{"Timestamp":4173,"Mod":0,"Key":256,"Ch":101},{"Timestamp":4442,"Mod":0,"Key":256,"Ch":115},{"Timestamp":4696,"Mod":0,"Key":256,"Ch":116},{"Timestamp":6226,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7698,"Mod":0,"Key":13,"Ch":13},{"Timestamp":10744,"Mod":0,"Key":256,"Ch":100},{"Timestamp":12856,"Mod":0,"Key":13,"Ch":13},{"Timestamp":14484,"Mod":0,"Key":256,"Ch":99},{"Timestamp":15744,"Mod":0,"Key":13,"Ch":13},{"Timestamp":18056,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":209,"Height":52}]}
{"KeyEvents":[{"Timestamp":1360,"Mod":0,"Key":256,"Ch":106},{"Timestamp":2124,"Mod":0,"Key":256,"Ch":32},{"Timestamp":4000,"Mod":0,"Key":256,"Ch":99},{"Timestamp":4595,"Mod":0,"Key":256,"Ch":102},{"Timestamp":4730,"Mod":0,"Key":256,"Ch":105},{"Timestamp":4831,"Mod":0,"Key":256,"Ch":114},{"Timestamp":5011,"Mod":0,"Key":256,"Ch":115},{"Timestamp":5122,"Mod":0,"Key":256,"Ch":116},{"Timestamp":5552,"Mod":0,"Key":256,"Ch":32},{"Timestamp":5778,"Mod":0,"Key":256,"Ch":99},{"Timestamp":5882,"Mod":0,"Key":256,"Ch":111},{"Timestamp":6046,"Mod":0,"Key":256,"Ch":109},{"Timestamp":6212,"Mod":0,"Key":256,"Ch":109},{"Timestamp":6449,"Mod":0,"Key":256,"Ch":105},{"Timestamp":6550,"Mod":0,"Key":256,"Ch":116},{"Timestamp":7347,"Mod":0,"Key":13,"Ch":13},{"Timestamp":9314,"Mod":0,"Key":13,"Ch":13},{"Timestamp":10322,"Mod":0,"Key":256,"Ch":107},{"Timestamp":11012,"Mod":0,"Key":256,"Ch":100},{"Timestamp":11547,"Mod":0,"Key":13,"Ch":13},{"Timestamp":12960,"Mod":0,"Key":256,"Ch":99},{"Timestamp":13863,"Mod":0,"Key":13,"Ch":13},{"Timestamp":15574,"Mod":0,"Key":256,"Ch":32},{"Timestamp":16365,"Mod":0,"Key":256,"Ch":99},{"Timestamp":16977,"Mod":0,"Key":256,"Ch":115},{"Timestamp":17111,"Mod":0,"Key":256,"Ch":101},{"Timestamp":17308,"Mod":0,"Key":256,"Ch":99},{"Timestamp":17420,"Mod":0,"Key":256,"Ch":111},{"Timestamp":17442,"Mod":0,"Key":256,"Ch":110},{"Timestamp":17593,"Mod":0,"Key":256,"Ch":100},{"Timestamp":17814,"Mod":0,"Key":256,"Ch":32},{"Timestamp":18040,"Mod":0,"Key":256,"Ch":99},{"Timestamp":18127,"Mod":0,"Key":256,"Ch":111},{"Timestamp":18269,"Mod":0,"Key":256,"Ch":109},{"Timestamp":18409,"Mod":0,"Key":256,"Ch":109},{"Timestamp":18694,"Mod":0,"Key":256,"Ch":105},{"Timestamp":18803,"Mod":0,"Key":256,"Ch":116},{"Timestamp":19624,"Mod":0,"Key":13,"Ch":13},{"Timestamp":21204,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":212,"Height":55}]}

View File

@ -8,7 +8,8 @@ git config user.name "CI"
git checkout -b master
echo "test" > file1
echo "file1" > file1
echo "file2" > file2
echo "disruptive" > disruptive
cat > .git/hooks/pre-commit <<EOL
#!/bin/bash

View File

@ -1 +1 @@
{ "description": "In this test we attempt to create a commit with the commit message `test`, but a pre-commit hook fails (the hook checks for the existance of a file called `disruptive`). Afterwards we make the pre-commit hook work (by discarding the file), and again attempt to create a commit. This time the commit message should already be remembered from the failed attempt and be prefilled.", "speed": 20 }
{"description": "In this test we attempt to create a commit with the commit message `first commit`, but a pre-commit hook fails (the hook checks for the existance of a file called `disruptive`). Afterwards we make the pre-commit hook work (by discarding the file), and again attempt to create a commit. This time the commit message should already be remembered from the failed attempt and be prefilled. Then another commit is made with the message `second commit`, and this time the last commit message no longer prefilled.", "speed": 20}