Determine the master's commit hash and note it in each patch