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

Re: [PATCH] branch as a builtin (again)

From
Shawn Pearce <spearce@spearce.org>
Date
Aug 21, 2006, 08:03 UTC
Message-ID
<20060821080345.GA26191@spearce.org>
In-Reply-To
<Pine.LNX.4.63.0608210045450.17336@chino.corp.google.com>
> On Sun, 20 Aug 2006, Kristian Høgsberg wrote:
> > diff --git a/builtin-branch.c b/builtin-branch.c
> > +static const char builtin_branch_usage[] =
> > +    "git-branch [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]] | -r";
What happened to the -l switch to create a reflog for the new branch?
> > +static void delete_branches(int argc, const char **argv, int force)
What happened to deleting the reflog when the branch gets deleted?

In both cases please see the existing git-branch documentation and shell script.

I applaud the effort of removing some of these smaller shell scripts with more portable C code but at the same time I'd hate to see a loss of functionality, especially something that I use! :-)

-- 
Shawn.
Previous: David RientjesNext: Jonas Fonseca
Message 4 of 13 in “branch as a builtin (again)”
  1. branch as a builtin (again)Kristian Høgsberg, Aug 20, 2006
  2. Johannes SchindelinAug 20, 2006
  3. David RientjesAug 21, 2006
  4. Shawn PearceAug 21, 2006
  5. Jonas FonsecaAug 21, 2006
  6. Kristian HøgsbergAug 21, 2006
  7. David RientjesAug 21, 2006
  8. Kristian HøgsbergAug 21, 2006
  9. Junio C HamanoAug 22, 2006
  10. Johannes SchindelinAug 21, 2006
  11. Kristian HøgsbergAug 21, 2006
  12. Shawn PearceAug 21, 2006
  13. Johannes SchindelinAug 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.