mirror of
https://github.com/git/git.git
synced 2026-08-08 17:11:48 +00:00
SQUASH???
This commit is contained in:
@@ -12,7 +12,7 @@ SYNOPSIS
|
||||
'git repack' [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]
|
||||
[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]
|
||||
[--write-midx[=<mode>]] [--name-hash-version=<n>] [--path-walk]
|
||||
[--filter=<filter-spec>] [--drop-filtered [--dry-run]]]
|
||||
[--filter=<filter-spec>] [--drop-filtered [--dry-run]]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
|
||||
@@ -40,7 +40,8 @@ static int write_bitmaps_given;
|
||||
static const char *const git_repack_usage[] = {
|
||||
N_("git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n"
|
||||
"[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]\n"
|
||||
"[--write-midx[=<mode>]] [--name-hash-version=<n>] [--path-walk]"),
|
||||
"[--write-midx[=<mode>]] [--name-hash-version=<n>] [--path-walk]\n"
|
||||
"[--filter=<filter-spec>] [--drop-filtered [--dry-run]]"),
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
@@ -142,8 +142,8 @@ test_expect_success '--drop-filtered removes the promisor blob locally' '
|
||||
repack --drop-filtered --filter=blob:limit=1k -a &&
|
||||
|
||||
git -C repo cat-file --batch-all-objects --batch-check="%(objectname)" >present &&
|
||||
! grep -q "$BIG" present &&
|
||||
grep -q "$SMALL" present
|
||||
test_grep ! "$BIG" present &&
|
||||
test_grep "$SMALL" present
|
||||
'
|
||||
|
||||
test_expect_success '--drop-filtered refuses when a merge is in progress' '
|
||||
|
||||
Reference in New Issue
Block a user