laravel/framework — pull request #4376 by jmshelby (2014-05-09 16:10:23+00:00)
Title: [Bug Fix] BelongsToMany::sync, don't touch, unless something was updated.

Fix an issue where a call to sync() on the belongs to many relationship _always_ touches the parent and related objects, event if nothing is being added or updated on the pivot table.