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

Re: [PATCH] gitk: disable checkout of remote branch

From
TMTim Mazid <timmazid@hotmail.com>
Date
Nov 4, 2009, 06:17 UTC
Message-ID
<1257315478920-3943388.post@n2.nabble.com>
In-Reply-To
<2e24e5b90911031758t651735f9xe9d078079112cfa6@mail.gmail.com>
Sitaram Chamarty wrote:
Show 16 quoted lines
> 
> On Wed, Nov 4, 2009 at 6:18 AM, Tim Mazid <timmazid@hotmail.com> wrote:
> 
>> Might be better to include a configuration option to allow this, for
>> those
>> that know what they're doing. Most of the people that know what they're
>> doing will use the command line, anyway, but it may irritate some people.
> 
> I considered that but found my tcl fu was seriously lacking.  These
> are literally the first 3 lines of tcl I ever wrote in my life, and
> this program is one huge 11,000+ line monolith, so I'm naturally
> scared to make more than very, very, small changes :)
> 
> In any case, as you said, most people who know what they're doing can
> use the CLI to get there anyway...
> 

Hm, now that I think about it, what might be better is to just do what should be done for them. :P

So instead of invoking 'git checkout REMOTE/BRANCH', do 'git checkout -b BRANCH REMOTE/BRANCH'.

I know you said, you don't know, tcl, but just throwing it out there for anyone else.

Cheers, Tim.

-- 
View this message in context: http://n2.nabble.com/PATCH-gitk-disable-checkout-of-remote-branch-tp3939363p3943388.html
Sent from the git mailing list archive at Nabble.com.
Previous: Sitaram ChamartyNext: Sverre Rabbelier
Message 5 of 14 in “gitk: disable checkout of remote branch”
  1. gitk: disable checkout of remote branchSitaram Chamarty, Nov 3, 2009
  2. Sverre RabbelierNov 3, 2009
  3. Tim MazidNov 4, 2009
  4. Sitaram ChamartyNov 4, 2009
  5. Tim MazidNov 4, 2009
  6. Sverre RabbelierNov 4, 2009
  7. Jeff KingNov 4, 2009
  8. Tim MazidNov 4, 2009
  9. Sitaram ChamartyNov 4, 2009
  10. Junio C HamanoNov 4, 2009
  11. Jeff KingNov 5, 2009
  12. Junio C HamanoNov 6, 2009
  13. Sverre RabbelierNov 6, 2009
  14. Paul MackerrasNov 14, 2009

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.