forked from mirrors/jj
bd110307ff
Gerrit also needs to be able to push low-level refs into upstream remotes, just like `jj git push` does. Doing so requires providing callbacks e.g. for various password entry mechanisms, which was private to the `git` command module. Pull these out to a new module `git_utils` so we can reuse it across the two call sites. This also moves a few other strictly Git-related functions into `git_utils` as well, just for the sake of consistency. Signed-off-by: Austin Seipp <aseipp@pobox.com>
35 lines
1,006 B
Rust
35 lines
1,006 B
Rust
// Copyright 2020 The Jujutsu Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#![deny(unused_must_use)]
|
|
|
|
pub mod cleanup_guard;
|
|
pub mod cli_util;
|
|
pub mod commands;
|
|
pub mod commit_templater;
|
|
pub mod config;
|
|
pub mod description_util;
|
|
pub mod diff_util;
|
|
pub mod formatter;
|
|
pub mod git_util;
|
|
pub mod graphlog;
|
|
pub mod merge_tools;
|
|
pub mod operation_templater;
|
|
mod progress;
|
|
pub mod template_builder;
|
|
pub mod template_parser;
|
|
pub mod templater;
|
|
pub mod text_util;
|
|
pub mod time_util;
|
|
pub mod ui;
|