-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect changes to sparse_paths on update #315
Respect changes to sparse_paths on update #315
Conversation
Happy to make any style/structure changes - I tried to follow the conventions in the rest of I ran |
Update: After a lot of trial and error it seems like the new tests for switching between sparse modes/etc are causing the tests to run into each other during execution, e.g. per this log with bad debug it looks a lot like both versions of |
Abandoning this one to switch over to |
This patch addresses issue #265 by respecting updates to
sparse_paths
duringgitman install
, including:sparse_paths
list (additions or deletions)sparse_paths
list to a previously full checkoutsparse_paths
and reverting to a full checkoutThis is done without using the
git sparse-checkout
command and should be compatible withgit
versions older than 2.25 where it was introduced.This patch was also tested against a repository whose folder structure changed between revisions and the new
sparse_paths
was properly respected during update.