def gitCommit(name):
 commit = check_output(['git', 'show', name], universal_newlines=True).split('\n')[0]
 assert (commit[:7] == 'commit ')
 return commit[7:]

def gitCommit ( name ) : commit = check_output ( [ 'git' , 'show' , name ] , universal_newlines = True ) . split ( '\n' ) [ 0 ] assert ( commit [ : 7 ] == 'commit ' ) return commit [ 7 : ]
return the commit id for the given name .