summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/reset.c')
-rw-r--r--builtin/reset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/reset.c b/builtin/reset.c
index 51c9e2f43f..7f38656f01 100644
--- a/builtin/reset.c
+++ b/builtin/reset.c
@@ -67,6 +67,8 @@ static int reset_index(const char *ref, const struct object_id *oid, int reset_t
case KEEP:
case MERGE:
opts.update = 1;
+ /* FIXME: Default should be to remove ignored files */
+ opts.preserve_ignored = 1;
break;
case HARD:
opts.update = 1;