diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-02-27 15:23:00 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-02-27 15:23:00 -0800 |
| commit | 3c0f4abaf5b3e47d9426bb2bffb06d5ee47b1c95 (patch) | |
| tree | b9e0d642996257d51164d6638d77cdcc2bcfc2d0 /refs.h | |
| parent | Merge branch 'ua/os-version-capability' (diff) | |
| parent | builtin/refs: add '--no-reflog' flag to drop reflogs (diff) | |
| download | git-3c0f4abaf5b3e47d9426bb2bffb06d5ee47b1c95.tar.gz git-3c0f4abaf5b3e47d9426bb2bffb06d5ee47b1c95.zip | |
Merge branch 'kn/ref-migrate-skip-reflog'
"git refs migrate" can optionally be told not to migrate the reflog.
* kn/ref-migrate-skip-reflog:
builtin/refs: add '--no-reflog' flag to drop reflogs
Diffstat (limited to 'refs.h')
| -rw-r--r-- | refs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1143,8 +1143,11 @@ int is_pseudo_ref(const char *refname); * - REPO_MIGRATE_REF_STORAGE_FORMAT_DRYRUN: perform a dry-run migration * without touching the main repository. The result will be written into a * temporary ref storage directory. + * + * - REPO_MIGRATE_REF_STORAGE_FORMAT_SKIP_REFLOG: skip migration of reflogs. */ -#define REPO_MIGRATE_REF_STORAGE_FORMAT_DRYRUN (1 << 0) +#define REPO_MIGRATE_REF_STORAGE_FORMAT_DRYRUN (1 << 0) +#define REPO_MIGRATE_REF_STORAGE_FORMAT_SKIP_REFLOG (1 << 1) /* * Migrate the ref storage format used by the repository to the |
