{"thread":{"id":"43486","subject":"branch builtin","startedAt":"2006-11-01T20:17:57Z","lastAt":"2006-11-01T20:50:09Z","messageCount":2,"participants":["Andy Whitcroft","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"295071","messageId":"454900F5.5050603@shadowen.org","threadId":"43486","inReplyTo":null,"subject":"branch builtin","fromName":"Andy Whitcroft","fromEmail":"apw@shadowen.org","sentAt":"2006-11-01T20:17:57Z","receivedAt":"2006-11-01T20:17:57Z","isPatch":false,"sender":{"key":"apw@shadowen.org","avatar":"https://gravatar.com/avatar/d3088262854661a913ef35cc40fedcc270142d4461791142bc1ea0b2a4e2e147?d=mp&s=160"},"body":"Since the branch command moved built-in it no longer works in\nsub-directories.  I've futzed with it and it seems adding RUN_SETUP to\nthe command table for branch makes 'git branch' work.  Is this safe to do?\n\n"},{"id":"296020","messageId":"7v7iye51tq.fsf@assigned-by-dhcp.cox.net","threadId":"43486","inReplyTo":"454900F5.5050603@shadowen.org","subject":"Re: branch builtin","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-11-01T20:50:09Z","receivedAt":"2006-11-01T20:50:09Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Andy Whitcroft <apw@shadowen.org> writes:\n\n> Since the branch command moved built-in it no longer works in\n> sub-directories.  I've futzed with it and it seems adding RUN_SETUP to\n> the command table for branch makes 'git branch' work.  Is this safe to do?\n\n\"git branch\" is usable only within a git repository, so\nRUN_SETUP should be the sane thing to do.  Thanks for noticing.\n"}]}