allow adding whole diff to patch

this was causing a panic

add integration test for toggling all commit files
This commit is contained in:
Jesse Duffield 2022-03-23 23:15:54 +11:00
parent 5ded030a88
commit cc5d13c833
34 changed files with 103 additions and 28 deletions

View file

@ -0,0 +1 @@
ref: refs/heads/master

View file

@ -0,0 +1,10 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
email = CI@example.com
name = CI

View file

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -0,0 +1,7 @@
# 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]
# *~
.DS_Store

View file

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 7028eaec19b2723b62690974057c92ba7d8c1b11 CI <CI@example.com> 1648038005 +1100 commit (initial): first commit
7028eaec19b2723b62690974057c92ba7d8c1b11 cf149a94a18c990b2c5cdd0cf15ec4880f51c8b0 CI <CI@example.com> 1648038005 +1100 commit: blah

View file

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 7028eaec19b2723b62690974057c92ba7d8c1b11 CI <CI@example.com> 1648038005 +1100 commit (initial): first commit
7028eaec19b2723b62690974057c92ba7d8c1b11 cf149a94a18c990b2c5cdd0cf15ec4880f51c8b0 CI <CI@example.com> 1648038005 +1100 commit: blah

View file

@ -0,0 +1,4 @@
x<01>ÎM
Â@ @a×sŠÙ ÌADèªÇHÒ”
ß9ÛÇ·x²×új¼´„Èi¦ "=R ž]`\D<FØtê»Ù ®(i·ì²óœ\bÁ1å¹2¢¡O[÷ÓŽ“½<E2809C>ÓS¿T<C2BF>Mo²×‡Å
øíÀôÚ§šþÉ o´š×

View file

@ -0,0 +1 @@
cf149a94a18c990b2c5cdd0cf15ec4880f51c8b0

View file

@ -0,0 +1 @@
test3

View file

@ -0,0 +1 @@
{"KeyEvents":[{"Timestamp":624,"Mod":0,"Key":259,"Ch":0},{"Timestamp":813,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1216,"Mod":0,"Key":13,"Ch":13},{"Timestamp":1841,"Mod":0,"Key":256,"Ch":97},{"Timestamp":2456,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2624,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2841,"Mod":0,"Key":256,"Ch":32},{"Timestamp":3600,"Mod":2,"Key":16,"Ch":16},{"Timestamp":4795,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5193,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5696,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7345,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}

View file

@ -0,0 +1,23 @@
#!/bin/sh
set -e
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
git commit --allow-empty -m "first commit"
mkdir -p one/two/three
echo test1 > one/two/three/file1
echo test2 > one/two/three/file2
echo test3 > one/two/three/file3
echo test4 > one/two/three/file4
echo test5 > one/two/file1
echo test6 > one/two/file2
git add .
git commit -m "blah"

View file

@ -0,0 +1 @@
{ "description": "messing with our patch building flow in both flat and tree view", "speed": 10 }