summaryrefslogtreecommitdiff
path: root/contrib/examples/git-svnimport.perl
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2025-01-27 19:02:30 +0000
committerJunio C Hamano <gitster@pobox.com>2025-01-27 13:21:43 -0800
commit928ef41dd879a1e12373842e865477e9e1167621 (patch)
tree59d8ea4367a4381391f6a5c007f0775efc58cdcb /contrib/examples/git-svnimport.perl
parentfc62e033cd93ff6b93e312d89bfb5683a4c6f90c (diff)
repack: add --name-hash-version option
The new '--name-hash-version' option for 'git repack' is a simple pass-through to the underlying 'git pack-objects' subcommand. However, this subcommand may have other options and a temporary filename as part of the subcommand execution that may not be predictable or could change over time. The existing test_subcommand method requires an exact list of arguments for the subcommand. This is too rigid for our needs here, so create a new method, test_subcommand_flex. Use it to check that the --name-hash-version option is passing through. Since we are modifying the 'git repack' command, let's bring its usage in line with the Documentation's synopsis. This removes it from the allow list in t0450 so it will remain in sync in the future. Signed-off-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions