Maybe git is asking for input?  Try giving it an eof or something:

echo (yes | git svn find-rev HEAD)

-Dave

On Sat, Aug 11, 2012 at 3:26 PM, Kevin Ballard <ke...@sb.org> wrote:

> Well this is interesting. I just noticed that after running `echo (git svn
> find-rev HEAD)` it actually leaves a stopped job behind.
>
> > jobs
> Job     Group   State   Command
> 2       2291    stopped git svn find-rev HEAD
>
> What could cause that?
>
> -Kevin
>
> On Aug 10, 2012, at 9:48 PM, Kevin Ballard <ke...@sb.org> wrote:
>
> > Running a git-svn subcommand in a "subshell" (I forget what the real
> name is for this) doesn't actually work. For example,
> >
> >    echo (git svn find-rev HEAD)
> >
> > always emits an empty line instead of emitting the revision that HEAD
> corresponds to. Running the git-svn command directly at the prompt works
> just fine.
> >
> > I have no idea what could be causing this. The other git commands that
> I've tried work perfectly fine inside of subshells. And git-svn commands
> work perfectly fine inside of bash subshells (e.g `echo $(git svn find-rev
> HEAD)`).
> >
> > Does anyone have an idea what could possibly be going wrong?
> >
> > -Kevin
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to