From: Junio C Hamano Date: Fri, 23 May 2014 17:11:03 GMT Subject: Re: Plumbing to rename a ref? Message-ID: In-Reply-To: <20140523123503.GB726@sigill.intra.peff.net> Jeff King writes: > One thing that this misses (as does your original script) is the > reflogs. Doing "branch -m" to rename a branch will actually move the > reflogs, too, but there is otherwise no way to access that > functionality. > > It does not seem unreasonable to teach "git update-ref" to do renames to > take advantage of this (it would be fairly simple; the logic is already > encapsulated internally in a rename_ref function). Sounds sensible.