mirror of
https://github.com/git/git
synced 2024-10-29 06:06:41 +00:00
unpack-trees: remove unneeded continue
The continue is the last statement in the loop, so not needed.
This situation arose in 700e66d66
(2010-07-30, unpack-trees: let
read-tree -u remove index entries outside sparse area) when statements
after the continue were removed.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
30ac275b1c
commit
c4bfc7728b
1 changed files with 0 additions and 1 deletions
|
@ -253,7 +253,6 @@ static int check_updates(struct unpack_trees_options *o)
|
||||||
display_progress(progress, ++cnt);
|
display_progress(progress, ++cnt);
|
||||||
if (o->update && !o->dry_run)
|
if (o->update && !o->dry_run)
|
||||||
unlink_entry(ce);
|
unlink_entry(ce);
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
remove_marked_cache_entries(index);
|
remove_marked_cache_entries(index);
|
||||||
|
|
Loading…
Reference in a new issue