mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-25 05:29:39 +00:00
cdc7a0c242
Open commits are work-in-progress and `jj git push --branch <name>` therefore errors out if the branch points to an open commit. However, we don't do the same check if you run `jj git push` to push all branches. This patch introduces such a check. Rather than error out, we skip such branches instead. I didn't make it check for open commits in ancestors. It's quite unusual (at least in my workflow) to have a closed commit on top of an open one. We can revisit if users get surprised by it. |
||
---|---|---|
.. | ||
smoke_test.rs | ||
test_git_push.rs | ||
test_global_opts.rs | ||
test_init_command.rs | ||
test_ui.rs | ||
test_untrack_command.rs |