Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 16:52:06 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Sebastian Bach <sbach@nuith.pl>
Cc:        "ports@FreeBSD.org" <ports@FreeBSD.org>, "wxs@FreeBSD.org" <wxs@FreeBSD.org>
Subject:   Re: FreeBSD Port: git-2.0.2_1
Message-ID:  <20140825165206.40cc5eba@bsd64.grem.de>
In-Reply-To: <5b109c99bada4b39b622e3c5257fe2c4@gds-exchange1.NUITH.local>
References:  <5b109c99bada4b39b622e3c5257fe2c4@gds-exchange1.NUITH.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Aug 2014 13:39:50 +0000
Sebastian Bach <sbach@nuith.pl> wrote:

> Hi!
> 
> I've an urgent problem with the current port devel/git (2.0.2). After
> upgrading  we can't use our Atlassian Stash server anymore. Stash
> rejects (hard check of 2.0.2 and 2.0.3) to use this specific git
> version due to a critical bug in 'git diff-tree' which breaks Stash's
> commit page. Please see the 'DVCS clients' section on their system
> requirements page:
> https://confluence.atlassian.com/display/STASH/Supported+platforms
> https://jira.atlassian.com/browse/STASH-5052
> 
> I don't know how to downgrade this port. Is this even possible on
> FreeBSD? However, can you tell me when git 2.0.4 or 2.1.0 will be
> available in the ports collections?
> 
> Best regards
> Sebastian Bach
> 

If you're using pkg you might be lucky and still have a cached copy
in /var/cache/pkg. In that case try pkg delete git and pkg
add /var/cache/pkg/git-<version>.txz.

Otherwise one way of doing this is getting the old package skeleton
from svn and build it from ports. You need revision 362475 of the ports
tree for git version 2.0.1. Alternatively you can download the files
from svnweb (a bit clumsy, but doesn't require you to install
subversion):

http://svnweb.freebsd.org/ports/head/devel/git/?pathrev=362475

If you don't have a ports tree yet, do: portsnap fetch extract

Then copy the files in /usr/ports/devel/git, go there and do make
install (do pkg delete git beforehand).

-- 
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140825165206.40cc5eba>