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

Re: Losing branches (whee, data loss)

From
Junio C Hamano <junkio@cox.net>
Date
May 16, 2007, 06:12 UTC
Message-ID
<7vtzudfgam.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<464A940C.3080906@garzik.org>
Jeff Garzik <jeff@garzik.org> writes:
Show 9 quoted lines
> Grumble!
>
> When all this started, the branch 'upstream-fixes' exists, and branch
> 'tmp' does not exist.  This is my local clone of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
>
> [jgarzik@pretzel libata-dev]$ git branch -m upstream-fixes tmp
> error: Could not open config file!
> fatal: Branch rename failed
Sorry to hear that.

We used to have a problem with "branch -m" when you did not have a .git/config file (or it was unwritable). I think 1.5.0.X series and 1.5.1 release had this bug; 1.5.1.1 and later should have the appropriate fix.

Was this really a "whee, data loss", I wonder...?
Previous: Junio C HamanoNext: Jeff Garzik
Message 9 of 10 in “Losing branches (whee, data loss)”
  1. Jeff GarzikMay 16, 2007
  2. Lars HjemliMay 16, 2007
  3. Jeff GarzikMay 16, 2007
  4. Jan HudecMay 16, 2007
  5. Jeff GarzikMay 16, 2007
  6. Junio C HamanoMay 16, 2007
  7. Lars HjemliMay 16, 2007
  8. Junio C HamanoMay 16, 2007
  9. Junio C HamanoMay 16, 2007
  10. Jeff GarzikMay 16, 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.