Thread View: linux.kernel.git
3 messages
3 total messages
Started by Karthik Nayak
Thu, 12 Nov 2026 17:34
[PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the required test
Author: Karthik Nayak
Date: Thu, 12 Nov 2026 17:34
Date: Thu, 12 Nov 2026 17:34
40 lines
12960 bytes
12960 bytes
The 'empty stream succeeds' test sets 'fastimport.unpackLimit' to '0', so that the following imports write packs for the 'verify pack' tests to check. The test itself doesn't need it. A following commit makes it run in its own repository, where the setting would no longer reach the tests after it. Move the configuration to 'A: create pack from stdin', the first test which needs it. The configuration must persist for the 'verify pack' tests of the following series, so set it with 'git config' and not with 'test_config'. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> --- t/t9300-fast-import.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 15f511fb6b..4cffe43a71 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -38,7 +38,6 @@ echo "$@"' ### test_expect_success 'empty stream succeeds' ' - git config fastimport.unpackLimit 0 && git fast-import </dev/null ' @@ -47,6 +46,7 @@ test_expect_success 'truncated stream complains' ' ' test_expect_success 'A: create pack from stdin' ' + git config fastimport.unpackLimit 0 && test_tick && cat >input <<-INPUT_END && blob -- 2.56.GIT
Re: [PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the required test
Author: Kaartic Sivaraam
Date: Thu, 19 Nov 2026 10:06
Date: Thu, 19 Nov 2026 10:06
54 lines
12812 bytes
12812 bytes
On 11/12/26 23:04, Karthik Nayak wrote: > The 'empty stream succeeds' test sets 'fastimport.unpackLimit' to '0', > so that the following imports write packs for the 'verify pack' tests > to check. The test itself doesn't need it. A following commit makes it > run in its own repository, where the setting would no longer reach the > tests after it. > > Move the configuration to 'A: create pack from stdin', the first test > which needs it. The configuration must persist for the 'verify pack' > tests of the following series, so set it with 'git config' and not with > 'test_config'. > This makes me wonder if there is another patch later in this series to turn the 'git config fastimport.unpackLimit' into one that uses test_config instead to make the tests more self contained. Or may be it is planned in the follow-up the cover letter mentions. I'll see about it. In any case, I think it may be worth a noting in the commit message your thoughts about a change that turns the 'git config' into a test_config one. > Signed-off-by: Karthik Nayak <karthik.188@gmail.com> > --- > t/t9300-fast-import.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh > index 15f511fb6b..4cffe43a71 100755 > --- a/t/t9300-fast-import.sh > +++ b/t/t9300-fast-import.sh > @@ -38,7 +38,6 @@ echo "$@"' > ### > > test_expect_success 'empty stream succeeds' ' > - git config fastimport.unpackLimit 0 && > git fast-import </dev/null > ' > > @@ -47,6 +46,7 @@ test_expect_success 'truncated stream complains' ' > ' > > test_expect_success 'A: create pack from stdin' ' > + git config fastimport.unpackLimit 0 && > test_tick && > cat >input <<-INPUT_END && > blob > Change itself looks good to me. -- Sivaraam
Re: [PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the required test
Author: Karthik Nayak
Date: Mon, 23 Nov 2026 19:46
Date: Mon, 23 Nov 2026 19:46
55 lines
14444 bytes
14444 bytes
--000000000000a1430e0660f6d9d9 Content-Type: text/plain; charset="UTF-8" Kaartic Sivaraam <kaartic.sivaraam@gmail.com> writes: > On 11/12/26 23:04, Karthik Nayak wrote: >> The 'empty stream succeeds' test sets 'fastimport.unpackLimit' to '0', >> so that the following imports write packs for the 'verify pack' tests >> to check. The test itself doesn't need it. A following commit makes it >> run in its own repository, where the setting would no longer reach the >> tests after it. >> >> Move the configuration to 'A: create pack from stdin', the first test >> which needs it. The configuration must persist for the 'verify pack' >> tests of the following series, so set it with 'git config' and not with >> 'test_config'. >> > > This makes me wonder if there is another patch later in this series to > turn the 'git config fastimport.unpackLimit' into one that uses > test_config instead to make the tests more self contained. Or may be it > is planned in the follow-up the cover letter mentions. > > I'll see about it. In any case, I think it may be worth a noting in the > commit message your thoughts about a change that turns the 'git config' > into a test_config one. > The commit already states why it doesn't use 'test_config', Since we don't tackle that in this series. I would leave it and not make too many promises ;) [snip] --000000000000a1430e0660f6d9d9 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" Content-Transfer-Encoding: base64 X-Attachment-Id: 5851df503411f9a8_0.1 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSEtCQUVCQ2dBMEZpRUVWODVNZjJOMWNR L0xaY1lHUHRXZkpJNUdqSDhGQW1zRW1BOFdIR3RoY25Sb2FXc3UKTVRnNFFHZHRZV2xzTG1OdmJR QUtDUkErMVo4a2prYU1mNUpMQy8wVC9pcHR3K0tPSmRRRVFHb1BpNGRkMEtMbAp1WU0zL0FYdDVZ aktpdTZvUWUwcXVVVE4yOEhnZG9ESzMxK3gvUHdDZzMyalpSbWhmS1Y0clArM2gzMXRCamhOCitP VXU5OFFra1FsWkM5ckhiaWcxd0xoNmhlUk5UWDhLVktPRENEdDVpc2JKb2F5OUhTNUNuZUFZaCtX SEt0alYKSnpnazQ2Y1dKZ1pjZWdWNk1pRjVLc01sTXhraWRydk8ySzdvZ2h4TzErYWo2bjJka2JW RURpRkVkc044YW14egpYYmVIRzBCS1Z3cUlJb2NuczZETWVmWVhpQlFPbzVBRlZLWnU3YzllSmJ4 RlZZNitSVVp1Nkg1RGMxeGxXVzdHCjlwWjN2d2NlNGV0UWFRSlB5YWNib2VYaC9Cd1g3aFZLZnhC Q3loRy82YUNHT00xK1k5dTVJbGpxQjhleGF1TjgKa3o2OHZUOWdEQVNTMEx4bUZDclJJSkx2WDlD RnJSSlQ0VHRFMmJORTFOQitHZEQxNmFYamdaVjhvUWkrczFFNgozTG9VSUhkM3lEU3NGUi8yT1VO aTU5UURoV1Q4Wkh2dURsdGU5alcrbnJ2ZUNMMG5lRG9HTWFScm1xSm5XWXQrCmdlaGxHU0l6UUVS K1BFREVpellucC9mekVrbndROW5ibFY2aGVBYz0KPWtKUzIKLS0tLS1FTkQgUEdQIFNJR05BVFVS RS0tLS0t --000000000000a1430e0660f6d9d9--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads