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

Re: branch builtin

From
Junio C Hamano <junkio@cox.net>
Date
Nov 1, 2006, 20:50 UTC
Message-ID
<7v7iye51tq.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<454900F5.5050603@shadowen.org>
Andy Whitcroft <apw@shadowen.org> writes:
> Since the branch command moved built-in it no longer works in
> sub-directories.  I've futzed with it and it seems adding RUN_SETUP to
> the command table for branch makes 'git branch' work.  Is this safe to do?

"git branch" is usable only within a git repository, so RUN_SETUP should be the sane thing to do. Thanks for noticing.

Previous: Andy Whitcroft
Message 2 of 2 in “branch builtin”
  1. Andy WhitcroftNov 1, 2006
  2. Junio C HamanoNov 1, 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.