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
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Nov 20, 2006, 22:28 UTC
Message-ID
<20061120222812.GE12285@fieldses.org>
In-Reply-To
<200611202201.45521.jnareb@gmail.com>
On Mon, Nov 20, 2006 at 10:01:44PM +0100, Jakub Narebski wrote:
Show 6 quoted lines
> I have used StGit (wonderfull tool) to manage patches on git branch 
> gitweb/web. Unfortunately, I have named stg branch the same as git 
> branch. When removing stg branch (I wanted to remove 
> heads/base/gitweb/web) using "stg branch --delete gitweb/web" it 
> deleted also git branch when I wanted to remove only the StGit managed 
> indicator.
You probably actually had to "stg branch --delete --force", didn't you?
What you want is "stg commit".
> Perhaps that is correct behavior... but certainly unexpected.
I think "stg branch --delete" is pretty clearly named and documented....

The idea I guess was to make it possible to use stgit (and only stgit) for everything, and never type a git command. It might have been better to make stgit only manage patch series, and admit that people should use git for the rest. Then it might work more like you expect.

Previous: Junio C HamanoNext: Jakub Narebski
Message 3 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.