ignore partials.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
remove unused variable.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>