def get_commit_dates(refs, repo_dir=None):
 result = []
 for ref in refs:
  commit = get_commit_items(ref, cp(repo_dir))
  result.append(commit.author_sec)
 return result

def get_commit_dates ( refs , repo_dir = None ) : result = [ ] for ref in refs : commit = get_commit_items ( ref , cp ( repo_dir ) ) result . append ( commit . author_sec ) return result
get the dates for the specified commit refs .