switch: better names for -b and -B
[gitweb.git] / builtin / am.c
index 4fb107a9d1bdf36ff4c71d761abdda4d50d0e24b..99b66508fdb8f2e7fa5409a7d5f9d9f2901dae5f 100644 (file)
@@ -1957,7 +1957,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem
        if (merge_tree(remote_tree))
                return -1;
 
-       remove_branch_state(the_repository);
+       remove_branch_state(the_repository, 0);
 
        return 0;
 }