Require packfiles to follow the naming convention (preparation).
PATCH 1/1 Require packfiles to follow the naming convention (preparation).
Names of the packfiles will be required to be of the form "pack-[0-9a-f]{40}.pack". This commit prepares a switch that I can toggle to enforce the naming convention, but the switch is currently toggled off.
Signed-off-by Junio C Hamano <[email protected]>
---
* Currently in "pu".
Documentation/git-convert-packs.txt | 2 - Documentation/git.txt | 3 + sha1_file.c | 51 ++++++++++++++++++++++ t/t5300-pack-object.sh | 81 +++++++++++++++++++---------------- 4 files changed, 97 insertions(+), 40 deletions(-)
a8fe7257b8427d31cfcca0aa336335bb43689fc9
Documentation/git-convert-packs.txt +1 -1
@@ -3,7 +3,7 @@ git-convert-packs(1) NAME ---- -git-convert-packs - Renames packfiles created with pre 0.99.9 GIT +git-convert-packs - Renames packfiles created with pre 0.99.9 GIT. SYNOPSIS
Documentation/git.txt +3 -0
@@ -350,6 +350,9 @@ gitlink:git-archimport[1]:: gitlink:git-convert-objects[1]:: Converts old-style git repository. +gitlink:git-convert-packs[1]:: + Renames packfiles created with pre 0.99.9 GIT. + gitlink:git-cvsimport[1]:: Salvage your data out of another SCM people love to hate.
sha1_file.c +50 -1
81 lines not on this page · raw message
t/t5300-pack-object.sh +43 -38
160 lines not on this page · raw message
Signature · 1 line
1.1.1-g8ecb