[PATCH 1/3] t/helper: rename test-genzeros.c to test-genbytes.c
- From
Kristofer Karlsson via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Nov 7, 2026, 14:59 UTC
- Message-ID
- <b4378b352769cdcc2e9cfdf40efe173123ea9ab4.1794063565.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.2301.git.1794063565.gitgitgadget@gmail.com>
From: Kristofer Karlsson <krka@spotify.com>
The next commit adds a "genbytes" command to this file and turns "genzeros" into a thin wrapper around it. Rename the file in a separate step first, so that git can detect the rename and the actual changes show up as a regular diff, which is easier to review.
No functional changes.
Signed-off-by: Kristofer Karlsson <krka@spotify.com>
---
Makefile | 2 +-
t/helper/meson.build | 2 +-
t/helper/{test-genzeros.c => test-genbytes.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename t/helper/{test-genzeros.c => test-genbytes.c} (100%)diff --git a/Makefile b/Makefile index c2a6098484..8d214286e0 100644 --- a/Makefile +++ b/Makefile @@ -825,8 +825,8 @@ TEST_BUILTINS_OBJS += test-env-helper.o TEST_BUILTINS_OBJS += test-example-tap.o TEST_BUILTINS_OBJS += test-find-pack.o TEST_BUILTINS_OBJS += test-fsmonitor-client.o +TEST_BUILTINS_OBJS += test-genbytes.o TEST_BUILTINS_OBJS += test-genrandom.o -TEST_BUILTINS_OBJS += test-genzeros.o TEST_BUILTINS_OBJS += test-getcwd.o TEST_BUILTINS_OBJS += test-hash-speed.o TEST_BUILTINS_OBJS += test-hash.o diff --git a/t/helper/meson.build b/t/helper/meson.build index ae513b4cdc..f99688c49b 100644 --- a/t/helper/meson.build +++ b/t/helper/meson.build @@ -22,8 +22,8 @@ test_tool_sources = [ 'test-example-tap.c', 'test-find-pack.c', 'test-fsmonitor-client.c', + 'test-genbytes.c', 'test-genrandom.c', - 'test-genzeros.c', 'test-getcwd.c', 'test-hash-speed.c', 'test-hash.c', diff --git a/t/helper/test-genzeros.c b/t/helper/test-genbytes.c similarity index 100% rename from t/helper/test-genzeros.c rename to t/helper/test-genbytes.c
-- gitgitgadget