git fetch.type

Ryan Schmidt ryandesign at macports.org
Wed Aug 8 19:39:30 PDT 2012


On Aug 8, 2012, at 21:35, Craig Miller wrote:

> 
> On Aug 8, 2012, at 6:50 PM, Ryan Schmidt wrote:
> 
>> 
>> On Aug 8, 2012, at 20:43, Ryan Schmidt wrote:
>> 
>> You should always specify a branch when fetching from git, otherwise the build is not repeatable.
>> 
>> 
> Thanks for the help Ryan.  Specifying a branch is easy enough.  I'll give it a try.  :)
> 
> I'm wondering if lint should check for git.branch if fetch.type is git?

That could be good. Similar checks could be done for the other VCS fetch types.

Also, MacPorts base could be fixed so that it does not add the --depth argument if the git url is not using the git protocol.



More information about the macports-dev mailing list