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

Re: [BUG] StGit removed git branch of the same name as StGit branch

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
Nov 21, 2006, 10:19 UTC
Message-ID
<tnx1wnxxfu3.fsf@arm.com>
In-Reply-To
<ejuj2a$2ot$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 8 quoted lines
> Catalin Marinas wrote:
>> I've never thought anyone would see a different meaing for the
>> "branch" command. What you wanted to do was the reverse of the "init"
>> command. Maybe something like "uninit" or a "--uninit" option to
>> "branch".
>
> Yes, that is what I wanted. "stg branch --unmanage" or something
> like that.
I'll put it on my to-do list.
> By the way, why "stg branch --delete" doesn't remove reflog? Not that I'm
> complaining, because it sure saved some work when resurrecting branch, and
> I didn't loose reflog info.

Reflogs came into GIT after the StGIT branch command and never looked at them in detail. And maybe it should not touch the reflog info, especially for situations like this, unless GIT has a mechanism for a trash bin (StGIT has one for patches - .git/patches/<branch>/trash/ - but undocumented)

Previous: Jakub NarebskiNext: Jakub Narebski
Message 12 of 13 in “[BUG] StGit removed git branch of the same name as StGit branch”
  1. Jakub NarebskiNov 20, 2006
  2. Junio C HamanoNov 20, 2006
  3. J. Bruce FieldsNov 20, 2006
  4. Jakub NarebskiNov 20, 2006
  5. J. Bruce FieldsNov 20, 2006
  6. Jakub NarebskiNov 20, 2006
  7. Carl WorthNov 20, 2006
  8. Catalin MarinasNov 21, 2006
  9. Karl HasselströmNov 21, 2006
  10. Catalin MarinasNov 21, 2006
  11. Jakub NarebskiNov 21, 2006
  12. Catalin MarinasNov 21, 2006
  13. Jakub NarebskiNov 21, 2006

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.