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

Support additional Git ancestry syntax #4216

Closed
fulghum opened this issue Aug 26, 2022 · 1 comment
Closed

Support additional Git ancestry syntax #4216

fulghum opened this issue Aug 26, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fulghum
Copy link
Contributor

fulghum commented Aug 26, 2022

Git supports a few additional forms of ancestry specs that Dolt doesn't support yet:

  • HEAD~~~ is equivalent to HEAD~3, or the great-grandparent of HEAD.
  • 'HEAD^^is equivalent toHEAD~~`, or the first-parent of the first-parent.
  • 'HEAD~2^2` is equivalent to the second parent (only valid for a merge commit) of the grandparent of HEAD.
@fulghum fulghum added the good first issue Good for newcomers label Aug 26, 2022
@timsehn timsehn added the enhancement New feature or request label Aug 26, 2022
@stephkyou
Copy link
Contributor

These ancestry specs are now supported, covered in a previous change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants