mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-24 20:54:15 +00:00
ea05f8f1e5
It rarely makes sense to push commits with conflicts to a remote Git repo (which is the only kind of remote we support so far), so let's just error out instead of pushing a commit that others pulling from the remote probably can't make sense of. I've only added a simple test for the error case for now. `libgit2` doesn't support pushing to a local repo, so it's harder to test the success case. I suppose we'll have to have the regular `git` binary running local servers in test eventually. Closes #60. |
||
---|---|---|
.. | ||
smoke_test.rs | ||
test_git_push.rs | ||
test_global_opts.rs | ||
test_init_command.rs | ||
test_ui.rs | ||
test_untrack_command.rs |