def load(self, job_id):
        """
        Loads job into index and work-tree, restart its ref and sets as current.

        :param job_id: int
        """
        self.git.read_job(job_id, checkout=self.is_master_process())
        self.load_job_from_ref()
def load ( self , job_id ) : self . git . read_job ( job_id , checkout = self . is_master_process ( ) ) self . load_job_from_ref ( )
Loads job into index and work-tree, restart its ref and sets as current.

        :param job_id: int