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 since property to be able to shallow clone starting from a commit time #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ldinh1984
Copy link

No description provided.

@ldinh1984 ldinh1984 requested a review from smocherla-brex March 1, 2023 01:07
@ldinh1984 ldinh1984 changed the title add include property to be able to shallow clone to a specific git sha add since property to be able to shallow clone starting from a commit time Mar 1, 2023
export BUILDKITE_GIT_FETCH_FLAGS="-v --prune --depth ${DEPTH}"

# ensure we match a git sha
if [[ "${SINCE}" =~ ^[0-9]+$ ]]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this just needs to be valid unix timestamp?

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.

3 participants