From: Junio C Hamano Date: Wed, 17 Jun 2026 12:13:38 GMT Subject: Re: [PATCH 4/4] builtin/refs: add "rename" subcommand Message-ID: In-Reply-To: Patrick Steinhardt writes: >> If we rename a ref that does not have a reflog, would it leave the >> ref under the new name without reflog, or would we get a reflog with >> a single entry that marks the fact the old ref was renamed into the >> new ref? Should that be controlled via --create-reflog option? > > It would leave it without a reflog. In theory I agree that it might make > sense to introduce a "--create-reflog" option, but that would require > some new plumbing in `refs_rename_ref()`. So I'd say that we can add it > at a later point as needed. OK.