Make --squash work with the 'add' command too.