#NEWLINE# def __init__( self , repo , sha1_hash , rev = 'HEAD' ) : #NEWLINE# #INDENT# assert ( sha1_hash is not None ) , 'SHA-1 hash of commit should not be None' #NEWLINE# super ( GitCommit , self ) . __init__ ( repo , GIT_COMMIT_OBJECT , rev ) #NEWLINE# self . sha1_hash = sha1_hash