diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-15 02:27:00 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-26 20:25:39 -0700 |
commit | 0b5b409acca23e9b08c84f5ad531e287601448a2 (patch) | |
tree | 5ce956b637f943bb6ee8429dce624c45b6f91be9 /tools/buildman | |
parent | ce267335c31e95d69d42abf886ce7f3df1b5b2a4 (diff) |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a
collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rw-r--r-- | tools/buildman/control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 8b8c826002..96ba2d940e 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -70,7 +70,7 @@ def ShowActions(series, why_selected, boards_selected, builder, options): if commits: for upto in range(0, len(series.commits), options.step): commit = series.commits[upto] - print ' ', col.Color(col.YELLOW, commit.hash, bright=False), + print ' ', col.Color(col.YELLOW, commit.hash[:8], bright=False), print commit.subject print for arg in why_selected: |