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

Re: Losing branches (whee, data loss)

From
JGJeff Garzik <jeff@garzik.org>
Date
May 16, 2007, 06:40 UTC
Message-ID
<464AA749.90101@garzik.org>
In-Reply-To
<7vtzudfgam.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 18 quoted lines
> Jeff Garzik <jeff@garzik.org> writes:
> 
>> 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.
Using the latest version from Fedora Extras: git-core-1.5.0.6-1.fc6
> Was this really a "whee, data loss", I wonder...?

The branches definitely went away. The sha1-indexed commits are probably still there...

	Jeff
Previous: Junio C Hamano
Message 10 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.