Skip to content
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

Add incomplete flag #16

Merged
merged 3 commits into from
Jan 2, 2025
Merged

Add incomplete flag #16

merged 3 commits into from
Jan 2, 2025

Conversation

timcallow
Copy link
Owner

This a fix for issue #15.

In order to speed up the datalad finish command, we no longer look through the whole git history to find scheduled commits without a corresponding finish. Instead, we record a parameter "incomplete_job_number" in the git log entry. At any point in the git history when all scheduled commands have also been finished, this will equal 0. datalad finish now only searches as far back as the last entry where this number is equal to 0.

@timcallow timcallow linked an issue Jan 2, 2025 that may be closed by this pull request
@timcallow timcallow merged commit 0a827be into develop Jan 2, 2025
0 of 3 checks passed
@timcallow timcallow deleted the add_incomplete_flag branch January 2, 2025 15:38
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.

datalad finish searching through whole git history by default
1 participant