The following patches rework the "sync" command in response to Junio's input. The first two patches are a simple refactor to move logic for finding the name of the remote, which is not necessarily "origin", into a standalone function. The last patch is the reworked "git submodule sync" command. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html