Re: $> git branch splat response considered harmful

2019-08-09 Thread Philip Oakley
On 08/08/2019 22:28, Emily Shaffer wrote: On Thu, Aug 8, 2019 at 2:20 PM Bryan Turner wrote: On Thu, Aug 8, 2019 at 2:08 PM wrote: fwiw, jimc@frodo:~/prj-1/capnproto.git$ git branch -l * master I find the splat in the response unhelpful when wrapped in shell for loop, the splat expands into

Re: $> git branch splat response considered harmful

2019-08-08 Thread Junio C Hamano
Emily Shaffer writes: > More generally, I think you should take a look at `git help git` and > check out the difference between "porcelain" and "plumbing" commands. > The former, of which `git branch` is one, are intended for interactive > use and not really meant for scripting or piping. You can

Re: $> git branch splat response considered harmful

2019-08-08 Thread SZEDER Gábor
On Thu, Aug 08, 2019 at 03:08:06PM -0600, jim.cro...@gmail.com wrote: > fwiw, > > jimc@frodo:~/prj-1/capnproto.git$ git branch -l > * master > > I find the splat in the response unhelpful > when wrapped in shell for loop, the splat expands into everything in > current directory > > jimc@frodo:~/

Re: $> git branch splat response considered harmful

2019-08-08 Thread Emily Shaffer
On Thu, Aug 8, 2019 at 2:20 PM Bryan Turner wrote: > > On Thu, Aug 8, 2019 at 2:08 PM wrote: > > > > fwiw, > > > > jimc@frodo:~/prj-1/capnproto.git$ git branch -l > > * master > > > > I find the splat in the response unhelpful > > when wrapped in shell for loop, the splat expands into everything

Re: $> git branch splat response considered harmful

2019-08-08 Thread Bryan Turner
On Thu, Aug 8, 2019 at 2:08 PM wrote: > > fwiw, > > jimc@frodo:~/prj-1/capnproto.git$ git branch -l > * master > > I find the splat in the response unhelpful > when wrapped in shell for loop, the splat expands into everything in > current directory > > jimc@frodo:~/prj-1/capnproto.git$ for b in `g