Skip to contentSkip to conversation

branch builtin

DISCUSSION Andy Whitcroft 2 participants 2 messages Aug 11, 2016

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 3 lines · Andy Whitcroft

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.