threads / discuss / 43486

branch builtin

Subject: branch builtin

## tl;dr

2 messages between Nov 1, 2006 and Nov 1, 2006.

replies: 1people: 2as markdown or json

Andy Whitcroft· Nov 1, 2006, 20:17 UTC · lore

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?

Junio C Hamano· Nov 1, 2006, 20:50 UTC · re: Andy Whitcroft · lore

Re: branch builtin

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.

← back to recent threads