use the max depth instead of unshallow

This allows the use of older versions of git

Change-Id: I88ea685066603af19896a791829355ddbfa91ffe
1 file changed