You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "kwin (via GitHub)" <gi...@apache.org> on 2026/06/08 07:45:53 UTC

[I] Expose isShallow from ScmProviderRepository [maven-scm]

kwin opened a new issue, #1379:
URL: https://github.com/apache/maven-scm/issues/1379

   ### New feature, improvement proposal
   
   Git supports [shallow clones](https://git-scm.com/docs/shallow). However those behave differently in certain aspects (e.g. #1378). Therefore a getter method exposing for a repository if it is shallow cloned or not would be beneficial.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Expose isShallow from ScmProviderRepository [maven-scm]

Posted by "kwin (via GitHub)" <gi...@apache.org>.
kwin commented on issue #1379:
URL: https://github.com/apache/maven-scm/issues/1379#issuecomment-4646508571

   This is obviously only necessary if Maven SCM is working on an existing clone (and has not cloned itself) as otherwise this info is already known. The approach from https://stackoverflow.com/questions/37531605/how-to-test-if-git-repository-is-shallow can be used. Maybe this should be bound to a command instead....


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org