From: Dana How Date: Thu, 24 May 2007 22:33:50 GMT Subject: [PATCH] Split packs from git-repack should have descending timestamps Message-ID: <465612CE.4080605@gmail.com> If git-repack produces multiple split packs because --max-pack-size was in effect, the first pack written should have the latest timestamp because: (1) sha1_file.c:rearrange_packed_git() puts more recent pack files at the beginning of the search list; and (2) the most recent objects are written out first while packing. This is based on next rather than master to avoid merge conflicts with changes already in git-repack.sh due to the --max-pack-size patchset. Signed-off-by: Dana L. How --- git-repack.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/git-repack.sh b/git-repack.sh index 4ea6e5b..953de4a 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -68,6 +68,7 @@ names=$(git-pack-objects --non-empty --all --reflog $args