{"thread":{"id":"13409","subject":"creating tracking branches with git gui","startedAt":"2008-05-07T08:04:43Z","lastAt":"2008-05-09T18:20:00Z","messageCount":4,"participants":["Sitaram Chamarty","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"76254","messageId":"2e24e5b90805070104i337f9196g90134d11f35a1094@mail.gmail.com","threadId":"13409","inReplyTo":null,"subject":"creating tracking branches with git gui","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2008-05-07T08:04:43Z","receivedAt":"2008-05-07T08:04:43Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"Hello,\n\nUsing git gui to create tracking branches only creates the local\nbranch, but does not establish tracking.  Using the command \"git\nbranch newbr origin/newbr\" works as expected of course.\n\nI clicked on \"Branch\", then \"Create\", chose the \"Match Tracking Branch\nName\" radio button, chose the appropriate branch (origin/newbr) in the\nlist below, then finally hit Create at the bottom right.\n\nI can write up a more detailed note if required but I thought I'd ask\nif this was a bug in my understanding first :-)\n\nThanks,\n\nSitaram\n"},{"id":"76345","messageId":"2e24e5b90805072006j311b276cpe0a0d0eea9fa13a0@mail.gmail.com","threadId":"13409","inReplyTo":"2e24e5b90805070104i337f9196g90134d11f35a1094@mail.gmail.com","subject":"Re: creating tracking branches with git gui","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2008-05-08T03:06:11Z","receivedAt":"2008-05-08T03:06:11Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"Can someone help me with this please or at least put me out of my misery? :-)\n\nOver on another thread I found a config variable called\ngui.matchtrackingbranch, but setting that to true only saved me a\nmouse click -- it didn't really create the tracking, as seen by \"git\nremote show origin\".\n\nThanks,\n\nSitaram\n\nOn Wed, May 7, 2008 at 1:34 PM, Sitaram Chamarty <sitaramc@gmail.com> wrote:\n> Hello,\n>\n>  Using git gui to create tracking branches only creates the local\n>  branch, but does not establish tracking.  Using the command \"git\n>  branch newbr origin/newbr\" works as expected of course.\n>\n>  I clicked on \"Branch\", then \"Create\", chose the \"Match Tracking Branch\n>  Name\" radio button, chose the appropriate branch (origin/newbr) in the\n>  list below, then finally hit Create at the bottom right.\n>\n>  I can write up a more detailed note if required but I thought I'd ask\n>  if this was a bug in my understanding first :-)\n>\n>  Thanks,\n>\n>  Sitaram\n>\n"},{"id":"76421","messageId":"20080508234114.GZ29038@spearce.org","threadId":"13409","inReplyTo":"2e24e5b90805072006j311b276cpe0a0d0eea9fa13a0@mail.gmail.com","subject":"Re: creating tracking branches with git gui","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-05-08T23:41:14Z","receivedAt":"2008-05-08T23:41:14Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Sitaram Chamarty <sitaramc@gmail.com> wrote:\n> \n> Over on another thread I found a config variable called\n> gui.matchtrackingbranch, but setting that to true only saved me a\n> mouse click -- it didn't really create the tracking, as seen by \"git\n> remote show origin\".\n\nYea, I think that option actually predates the --track thing that\ngit-branch does these days.  Its designed to save a mouse click if\nyou are working in a corporate centralized repository model and\nneed to switch branches multiple times per day, always grabbing\nthe latest from the centralized repository when possible.\n\n> On Wed, May 7, 2008 at 1:34 PM, Sitaram Chamarty <sitaramc@gmail.com> wrote:\n> >\n> >  Using git gui to create tracking branches only creates the local\n> >  branch, but does not establish tracking.  Using the command \"git\n> >  branch newbr origin/newbr\" works as expected of course.\n> >\n> >  I clicked on \"Branch\", then \"Create\", chose the \"Match Tracking Branch\n> >  Name\" radio button, chose the appropriate branch (origin/newbr) in the\n> >  list below, then finally hit Create at the bottom right.\n\nRight.\n\nI don't use the --track feature (branch.$name.remote, branch.$name.merge)\nin my own work, so I have never had the desire or need to make sure that\ngit-gui sets this up for you.\n\nI'll try to work up a patch this evening.\n\n-- \nShawn.\n"},{"id":"76472","messageId":"2e24e5b90805091120j1fa5939ck4f2272aae2df00b9@mail.gmail.com","threadId":"13409","inReplyTo":"20080508234114.GZ29038@spearce.org","subject":"Re: creating tracking branches with git gui","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2008-05-09T18:20:00Z","receivedAt":"2008-05-09T18:20:00Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On Fri, May 9, 2008 at 5:11 AM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Yea, I think that option actually predates the --track thing that\n> git-branch does these days.  Its designed to save a mouse click if\n\n> I don't use the --track feature (branch.$name.remote, branch.$name.merge)\n> in my own work, so I have never had the desire or need to make sure that\n> git-gui sets this up for you.\n>\n> I'll try to work up a patch this evening.\n\nThanks -- I appreciate it.\n\nThe tracking feature is very useful; even though I understand the\nwhole refspec syntax perfectly well I still use this feature.\n\nAnd I'm trying to propagate git at my job and every bit helps.\n\nBesides, it's a bit hard to explain to folks why the widgets are\ncalled \"Match Tracking Branch Name\" and \"Tracking Branch\" but the\nbranch is not actually tracked :-)\n"}]}