Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

git: remote, Add shallow commits instead of substituting. Fixes #412 #810

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

jfontan
Copy link
Contributor

@jfontan jfontan commented Apr 16, 2018

updateShallow substituted the previous shallow list with the one returned by the UploadPackResponse. If the repository had previous shallow commits these are deleted from the list.

This change adds the new shallow hashes to the old ones.

The test TestBrokenMultipleShallowFetch is copied from #412. This is probably a fix also for #802.

…#412

updateShallow substituted the previous shallow list with the one
returned by the UploadPackResponse. If the repository had previous
shallow commits these are deleted from the list.

This change adds the new shallow hashes to the old ones.

Signed-off-by: Javi Fontan <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants