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 jujutsu support #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

msuozzo
Copy link

@msuozzo msuozzo commented Jun 7, 2024

patch originally authored by @algmyr

while the default diff does work, the 'working-copy-as-a-commit' semantics of jj mean that it may be preferable to customize the diff range to include the last non-anonymous commit. Unfortunately, there isn't currently an easy way to express this but the following should approximate it:

let g:signify_vcs_cmds.jj = 'jj diff --color=never --git --context=0 --from=''parents(heads(::@ & description(glob:"?*"))&mutable()) | ~(heads(::@ & description(glob:"?*"))&mutable())&heads(::@ & description(glob:"?*"))'' -- %f'

@msuozzo
Copy link
Author

msuozzo commented Jun 7, 2024

@jamessan seems the most recent reviewer

autoload/sy/repo.vim Outdated Show resolved Hide resolved
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.

None yet

2 participants