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
This commit is contained in:
5
refs.h
5
refs.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user