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

feat: set NX_BASE to empty tree hash if HEAD~1 does not exist #167

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

mandarini
Copy link
Member

@mandarini mandarini commented Aug 28, 2024

Update the BASE to be the empty git tree hash (the result of git hash-object -t tree /dev/null or 4b825dc642cb6eb9a060e54bf8d69288fbee4904), in the case where HEAD~1 doesn't exist.

Demo: https://github.com/mandarini/text-shas-2/actions/runs/10612117442/job/29413110625

@mandarini mandarini self-assigned this Aug 28, 2024
@mandarini mandarini force-pushed the feat/set-base-undefined branch 3 times, most recently from 6eb2e15 to 5ae1486 Compare August 29, 2024 09:08
@JamesHenry JamesHenry changed the title feat: BASE to undefined if HEAD~1 does not exist feat: set NX_BASE to empty tree hash if HEAD~1 does not exist Aug 29, 2024
@mandarini mandarini enabled auto-merge (squash) August 29, 2024 10:18
@mandarini mandarini merged commit 16efd74 into nrwl:main Aug 29, 2024
7 checks passed
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