summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-01-09 19:46:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-10 19:51:19 (GMT)
commitc4bfc7728b32294c33661c16a861419290549a2b (patch)
tree21c7c1286bacee1be88dfa9b64498f55b1f853b4 /unpack-trees.c
parent30ac275b1c893697e25abefbd872de534bb8c046 (diff)
downloadgit-c4bfc7728b32294c33661c16a861419290549a2b.zip
git-c4bfc7728b32294c33661c16a861419290549a2b.tar.gz
git-c4bfc7728b32294c33661c16a861419290549a2b.tar.bz2
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>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index b6f0bc6..9e48a404 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -253,7 +253,6 @@ static int check_updates(struct unpack_trees_options *o)
display_progress(progress, ++cnt);
if (o->update && !o->dry_run)
unlink_entry(ce);
- continue;
}
}
remove_marked_cache_entries(index);