Yeah, that's still a @todo, hence proof of concept. It should maybe default to latest tag, or the stable version could be included in the directory listing.

On Apr 28, 2013, at 12:22, Weston Ruter <notifications@github.com> wrote:

> In php/utils.php:
> 
> > +	if ( false !== stripos( $git_result, 'Cloning into' ) )
> > +		return true;
> > +	else
> > +		return new \WP_Error( 'shell-fatal', $git_result );
> > +}
> > +
> > +/**
> > + * Update a local Git repo
> > + *
> > + * @param string            $local_dir     Where the local Git repo lives
> > + * @return bool|WP_Error    $result       Output of the execution
> > + */
> > +function git_pull( $local_dir ) {
> > +
> > +	$results = array();
> > +	exec( 'cd ' . escapeshellarg( $local_dir ) .  '; git pull origin master', $results, $return );
> @danielbachhuber what if the master branch does not correspond to the latest stable release? In such case, in addition to the Git repo source URL for the package, the yml package manifest could include a ref like refs/heads/stable or refs/tags/v1.0 so that the specific branch or tag could be referenced. Likewise, a specific commit hash could be listed in the manifest.
> 
> —
> Reply to this email directly or view it on GitHub.