diff options
Diffstat (limited to 'src/git/sync.rs')
| -rw-r--r-- | src/git/sync.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/git/sync.rs b/src/git/sync.rs index 8401736..c24d16b 100644 --- a/src/git/sync.rs +++ b/src/git/sync.rs | |||
| @@ -673,7 +673,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 673 | match git::update_ref(repo_path, ref_name, expected_commit) { | 673 | match git::update_ref(repo_path, ref_name, expected_commit) { |
| 674 | Ok(()) => { | 674 | Ok(()) => { |
| 675 | if current_commit.is_some() { | 675 | if current_commit.is_some() { |
| 676 | info!( | 676 | debug!( |
| 677 | "Updated {} to {} in {}", | 677 | "Updated {} to {} in {}", |
| 678 | ref_name, | 678 | ref_name, |
| 679 | expected_commit, | 679 | expected_commit, |
| @@ -681,7 +681,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 681 | ); | 681 | ); |
| 682 | result.refs_updated += 1; | 682 | result.refs_updated += 1; |
| 683 | } else { | 683 | } else { |
| 684 | info!( | 684 | debug!( |
| 685 | "Created {} at {} in {}", | 685 | "Created {} at {} in {}", |
| 686 | ref_name, | 686 | ref_name, |
| 687 | expected_commit, | 687 | expected_commit, |
| @@ -707,7 +707,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 707 | if let Some(head_commit) = state.get_branch_commit(branch_name) { | 707 | if let Some(head_commit) = state.get_branch_commit(branch_name) { |
| 708 | match git::try_set_head_if_available(repo_path, head_ref, head_commit) { | 708 | match git::try_set_head_if_available(repo_path, head_ref, head_commit) { |
| 709 | Ok(true) => { | 709 | Ok(true) => { |
| 710 | info!("Set HEAD to {} in {}", head_ref, repo_path.display()); | 710 | debug!("Set HEAD to {} in {}", head_ref, repo_path.display()); |
| 711 | result.head_set = true; | 711 | result.head_set = true; |
| 712 | } | 712 | } |
| 713 | Ok(false) => { | 713 | Ok(false) => { |