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, 05:54 UTC
Message-ID
<464A9C9B.70904@garzik.org>
In-Reply-To
<8c5c35580705152248w254e4201w65da1e1ad229f6ee@mail.gmail.com>
Lars Hjemli wrote:
Show 6 quoted lines
> On 5/16/07, Jeff Garzik <jeff@garzik.org> wrote:
>> [jgarzik@pretzel libata-dev]$ git branch -m upstream-fixes tmp
>> error: Could not open config file!
>> fatal: Branch rename failed
> 
> This should have been fixed in v1.5.1.1, what version do you run?

[jgarzik@core ~]$ rpm -q git-core git-core-1.5.0.6-1.fc6

Show 7 quoted lines
>> [jgarzik@pretzel libata-dev]$ git-branch -m upstream-fixes tmp
>> fatal: A branch named 'tmp' already exists.
>>
>> [jgarzik@pretzel libata-dev]$ git branch -D tmp
>> Deleted branch tmp.
> 
> Could you try to run "git log -g" and see if it finds your lost branch?
Doesn't seem to..
Thanks,
	Jeff
Previous: Lars HjemliNext: Jan Hudec
Message 3 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.