git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Deleting remote branches with git-branch and reflog questions

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 23, 2007, 14:32 UTC
Message-ID
<200701231432.24225.andyparkins@gmail.com>
In-Reply-To
<ep51ie$i23$1@sea.gmane.org>
On Tuesday 2007 January 23 13:12, Jakub Narebski wrote:
> The problem is when you delete branch 'foo', and then create branch
> 'foo/bar'. You can't have both 'foo' and 'foo/bar' reflog.
Ah; yes of course.  That is a bit of a deal breaker isn't it?

On the other hand, why delete it instantly? Since the reflog is currently deleted by git-branch anyway, couldn't the deletion be delayed until the creation of foo/bar? At least then the deletion only hits if it really has to. In most circumstances foo then foo/bar is fairly unlikely.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 14 of 16 in “Deleting remote branches with git-branch and reflog questions”
  1. Andy ParkinsJan 23, 2007
  2. Andreas EricssonJan 23, 2007
  3. Andy ParkinsJan 23, 2007
  4. Junio C HamanoJan 23, 2007
  5. Johannes SchindelinJan 23, 2007
  6. Nicolas PitreJan 23, 2007
  7. Johannes SchindelinJan 23, 2007
  8. Junio C HamanoJan 24, 2007
  9. Nicolas PitreJan 24, 2007
  10. Jakub NarebskiJan 24, 2007
  11. Nicolas PitreJan 24, 2007
  12. Johannes SchindelinJan 24, 2007
  13. Jakub NarebskiJan 23, 2007
  14. Andy ParkinsJan 23, 2007
  15. Johannes SchindelinJan 23, 2007
  16. Andy ParkinsJan 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.