Skip to content

git: Add support for deepening shallow clones#311

Merged
mcuadros merged 1 commit intogo-git:masterfrom
marwatk:deepen
May 12, 2021
Merged

git: Add support for deepening shallow clones#311
mcuadros merged 1 commit intogo-git:masterfrom
marwatk:deepen

Conversation

@marwatk
Copy link
Contributor

@marwatk marwatk commented May 7, 2021

We'd previously get an error "object not found" when attempting to fetch a new depth on a shallow clone. This PR fixes the issue and adds a relevant test.

We could not get untouched tests to fully pass in our environment, with or without our changes. We're hoping your CI is properly configured to run the entire suite, if not we can investigate further.

Let me know if there are any changes you'd like to see before accepting this PR.

Thanks!

@mcuadros mcuadros merged commit 320db9a into go-git:master May 12, 2021
rohankmr414 pushed a commit to rohankmr414/go-git that referenced this pull request Oct 30, 2022
rohankmr414 pushed a commit to rohankmr414/go-git that referenced this pull request Nov 3, 2022
This reverts commit 320db9a.

Signed-off-by: Rohan Kumar <rohankmr414@gmail.com>
alexec added a commit to argoproj-labs/go-git that referenced this pull request Nov 22, 2022
Revert "git: Add support for deepening shallow clones (go-git#311)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants