Skip to content

Commit b727ad5

Browse files
committed
cleanup: no need to be public
1 parent d422ce1 commit b727ad5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

asyncgit/src/sync/hooks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl From<git2_hooks::HookResult> for HookResult {
4949
}
5050

5151
/// Retrieve advertised refs from the remote for the upcoming push.
52-
pub fn advertised_remote_refs(
52+
fn advertised_remote_refs(
5353
repo_path: &RepoPath,
5454
remote: Option<&str>,
5555
url: &str,

asyncgit/src/sync/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ pub use config::{
6666
pub use diff::get_diff_commit;
6767
pub use git2::BranchType;
6868
pub use hooks::{
69-
advertised_remote_refs, hooks_commit_msg, hooks_post_commit,
70-
hooks_pre_commit, hooks_pre_push, hooks_prepare_commit_msg,
71-
HookResult, PrePushTarget, PrepareCommitMsgSource,
69+
hooks_commit_msg, hooks_post_commit, hooks_pre_commit,
70+
hooks_pre_push, hooks_prepare_commit_msg, HookResult,
71+
PrePushTarget, PrepareCommitMsgSource,
7272
};
7373
pub use hunks::{reset_hunk, stage_hunk, unstage_hunk};
7474
pub use ignore::add_to_ignore;

0 commit comments

Comments
 (0)