From: Patrick Steinhardt Date: Tue, 11 Feb 2025 12:21:55 GMT Subject: Re: [PATCH v2] builtin/refs: add '--skip-reflog' flag to bypass reflog migration Message-ID: In-Reply-To: <20250211-477-refs-migrate-add-a-flag-to-ignore-reflogs-during-migration-v2-1-991a2ec9a796@gmail.com> On Tue, Feb 11, 2025 at 12:42:18PM +0100, Karthik Nayak wrote: > The 'git-refs(1)' migrate subcommand, which transfers repositories > between reference backends, currently migrates reflogs by default as of > 246cebe320 (refs: add support for migrating reflogs, 2024-12-16). > > While this behavior is desirable for most client-side repositories, > server-side repositories are not expected to contain reflogs. However, > due to historical reasons, some may still have them. This could be > caused, for example, by bugs, misconfiguration, or an administrator > enabling reflogs on the server for debugging purposes. > > To address this, introduce the --skip-reflog flag, allowing users to > bypass reflog migration. This ensures that the repository ends up in the > expected state after migration. Thanks, this version looks good to me. Patrick