diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/git/mod.rs | 2 | ||||
| -rw-r--r-- | src/git/sync.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/git/mod.rs b/src/git/mod.rs index b3fee69..1255b6f 100644 --- a/src/git/mod.rs +++ b/src/git/mod.rs | |||
| @@ -253,7 +253,7 @@ pub fn update_ref(repo_path: &Path, ref_name: &str, commit_hash: &str) -> Result | |||
| 253 | return Err(format!("git update-ref failed: {}", stderr)); | 253 | return Err(format!("git update-ref failed: {}", stderr)); |
| 254 | } | 254 | } |
| 255 | 255 | ||
| 256 | info!( | 256 | debug!( |
| 257 | "Updated ref {} to {} in {}", | 257 | "Updated ref {} to {} in {}", |
| 258 | ref_name, | 258 | ref_name, |
| 259 | commit_hash, | 259 | commit_hash, |
diff --git a/src/git/sync.rs b/src/git/sync.rs index e8e9655..b1a9b49 100644 --- a/src/git/sync.rs +++ b/src/git/sync.rs | |||
| @@ -667,7 +667,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 667 | match git::update_ref(repo_path, ref_name, expected_commit) { | 667 | match git::update_ref(repo_path, ref_name, expected_commit) { |
| 668 | Ok(()) => { | 668 | Ok(()) => { |
| 669 | if current_commit.is_some() { | 669 | if current_commit.is_some() { |
| 670 | info!( | 670 | debug!( |
| 671 | "Updated {} to {} in {}", | 671 | "Updated {} to {} in {}", |
| 672 | ref_name, | 672 | ref_name, |
| 673 | expected_commit, | 673 | expected_commit, |
| @@ -675,7 +675,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 675 | ); | 675 | ); |
| 676 | result.refs_updated += 1; | 676 | result.refs_updated += 1; |
| 677 | } else { | 677 | } else { |
| 678 | info!( | 678 | debug!( |
| 679 | "Created {} at {} in {}", | 679 | "Created {} at {} in {}", |
| 680 | ref_name, | 680 | ref_name, |
| 681 | expected_commit, | 681 | expected_commit, |
| @@ -701,7 +701,7 @@ pub fn align_repository_with_state(repo_path: &Path, state: &RepositoryState) -> | |||
| 701 | if let Some(head_commit) = state.get_branch_commit(branch_name) { | 701 | if let Some(head_commit) = state.get_branch_commit(branch_name) { |
| 702 | match git::try_set_head_if_available(repo_path, head_ref, head_commit) { | 702 | match git::try_set_head_if_available(repo_path, head_ref, head_commit) { |
| 703 | Ok(true) => { | 703 | Ok(true) => { |
| 704 | info!("Set HEAD to {} in {}", head_ref, repo_path.display()); | 704 | debug!("Set HEAD to {} in {}", head_ref, repo_path.display()); |
| 705 | result.head_set = true; | 705 | result.head_set = true; |
| 706 | } | 706 | } |
| 707 | Ok(false) => { | 707 | Ok(false) => { |