[infinispan-dev] Script to speed up sending pull reqs for OSX
Tristan Tarrant
ttarrant at redhat.com
Thu May 3 06:11:13 EDT 2012
Under Linux you'd probably use xdg-open URL
which uses the user's preferred browser (and not hardcoded chrome as below).
Tristan
On 05/03/2012 12:08 PM, Galder Zamarreño wrote:
> Hi,
>
> I've been playing around with a script to speed up pull req sends and I've come up with this for OSX:
>
> #!/bin/sh
> BRANCH=`git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
> open -a "Google Chrome" -g https://github.com/galderz/infinispan/pull/new/${BRANCH}
>
> Basically, takes your local branch and opens a new pull req in the current Google Chrome instance.
>
> It probably can be enhanced further, thoughts?
>
> Cheers,
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list