|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
| def | grab_output (command, cwd) |
Variables | |
| string | usage |
| operation = sys.argv[1] | |
| cwd = sys.argv[2] | |
| index_path = os.path.join(cwd, '.git', 'index') | |
| output_file = sys.argv[3] | |
| int | commit_id_size = 12 |
| def | commit_id = grab_output('git rev-parse --short=%d HEAD' % commit_id_size, cwd) |
| def | commit_date = grab_output('git show -s --format=%ci HEAD', cwd) |
| hfile = open(output_file, 'w') | |
| def commit_id.grab_output | ( | command, | |
| cwd | |||
| ) |
| string commit_id.commit_date = grab_output('git show -s --format=%ci HEAD', cwd) |
| string commit_id.commit_id = grab_output('git rev-parse --short=%d HEAD' % commit_id_size, cwd) |
| int commit_id.commit_id_size = 12 |
| commit_id.cwd = sys.argv[2] |
| commit_id.hfile = open(output_file, 'w') |
| commit_id.index_path = os.path.join(cwd, '.git', 'index') |
| commit_id.operation = sys.argv[1] |
| commit_id.output_file = sys.argv[3] |
| string commit_id.usage |
1.8.13