def restore_cherry_pick_state
      if @cherry_head
        File.open(File.expand_path('CHERRY_PICK_HEAD',
                                   Overcommit::Utils.git_dir), 'w') do |f|
          f.write(@cherry_head)
        end
        @cherry_head = nil
      end
    end
def restore_cherry_pick_state
      if @cherry_head
        File.open(File.expand_path('CHERRY_PICK_HEAD',
                                   Overcommit::Utils.git_dir), 'w') do |f|
          f.write(@cherry_head)
        end
        @cherry_head = nil
      end
    end
Restore any relevant files that were present when repo was in the middle
 of a cherry-pick.