-
Notifications
You must be signed in to change notification settings - Fork 45
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
spr diff uses jujutsu to amend? #182
Comments
Some ideas on the jj side of things:
|
Ahh part of the point of me using jj is that I really want the anonymous heads workflow :) |
I wrote some very basic support using the jj cli -- it likely needs more polish, but it works okay: master...sunshowers:spr:master |
^ I've been using the above for the last 4 months and it's been fine. Pretty good even! |
Hi everyone,
I've been using spr for the last year or so and really love it so far. As an ex-Meta source control person I've always preferred the stacked diff workflow and spr is the best tool of the lot.
I've been trying out Jujutsu version control with a colocated Git repository, and that works pretty well in conjunction with spr (since jj and spr are both about amend/rebase-based workflows). But there's a little nit I ran into, which is that
spr diff
,spr amend
etc usegit commit --amend
to amend commit messages. This is okay, but essentially creates a separate commit with its own identity in jj -- jj cannot link the identities of the old and new commits.Ideally spr would be able to run
jj describe @- --stdin
and feed in the message over stdin, which would avoid this problem. Would it be okay to extendspr
's amending logic to usejj describe
if a jujutsu repository is found?The text was updated successfully, but these errors were encountered: