jj/tests
Martin von Zweigbergk cdc7a0c242 cli: when pushing all branches (the default), skip open commit
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.
2022-03-12 10:46:58 -08:00
..
smoke_test.rs tests: set user and email in e2e tests 2022-03-10 12:38:07 -08:00
test_git_push.rs cli: when pushing all branches (the default), skip open commit 2022-03-12 10:46:58 -08:00
test_global_opts.rs tests: set user and email in e2e tests 2022-03-10 12:38:07 -08:00
test_init_command.rs cli: when initializing repo backed by Git repo, check out Git's HEAD 2022-03-10 12:53:40 -08:00
test_ui.rs cli: parse file names as relative and using platform separator 2021-06-09 22:56:02 -07:00
test_untrack_command.rs cli: clarify error message when jj untrack argument is not ignored 2022-03-02 22:43:09 -08:00