Re:Jujutsu: A Git-compatible DVCS that is both simple and po...
by awestroke on Tuesday August 01, 2023 @02:35PM
(#36960368)
Staging is additive, while splitting is subtractive
Re:Jujutsu: A Git-compatible DVCS that is both simple and po...
by arxanas on Tuesday August 01, 2023 @02:42PM
(#36960473)
I am working on a TUI tool for Git/jj to handle staging/splitting. Could you tell me more about what workflow would be problematic for you? For example, if you had to select lines that go in the first commit/staging area, does that work? Would it be better or worse if, for each line, you had to decide whether it would go into the first commit/staged vs second commit/unstaged area? Do you ever need to invert the first commit/staging area vs second commit/unstaged area?
Re this point, how is it any different? "Staging" the files is essentially the same as splitting the commit, anyways — it's just that the newly-split contents go into a "staging area" vs a commit. Do you mean that the tooling to accomplish this is not good?