From d863cc5ebbeaa3fcaebcd03d97432c73088cf5f2 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 13 Oct 2019 11:41:29 +0200 Subject: [PATCH] Clean up some comments --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index c3dd788b76278bd5167595ed8c60f44a3218857a..0a9ad28ac429a4e99657cb02b1c7d59539e04045 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1302,7 +1302,6 @@ fn write_commit_range_diff(out: &mut W, repo: &Repository, colors: & // showing all of their prerequisite commits. let mut commits1_state_index = 0; for (i2, opt_i1) in commits2_from1.iter().enumerate() { - //for i1 in commits1_state_index..ncommits1 { while commits1_state_index < ncommits1 { match commits1_state[commits1_state_index] { CommitState::Unhandled => { break } @@ -1770,7 +1769,7 @@ fn rebase(repo: &Repository, m: &ArgMatches) -> Result<()> { try!(write!(git_rebase_todo, "{}", REBASE_COMMENT)); drop(git_rebase_todo); - // Interactive editor if interactive { + // Interactive editor if interactive { let config = try!(repo.config()); try!(run_editor(&config, &git_rebase_todo_filename));