diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-15 08:27:00 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-03 21:12:39 (GMT) |
commit | 1ddda1b321a102b31bcddc0b1cc23fe3449533c6 (patch) | |
tree | 3f7b6d1c69162eaded9b2e2074b3dc4dbe3ec1da /tools/patman/patchstream.py | |
parent | 58d818f19f349fc17a3907b2be62a6d2d2dc242b (diff) | |
download | u-boot-1ddda1b321a102b31bcddc0b1cc23fe3449533c6.tar.xz |
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/patman/patchstream.py')
-rw-r--r-- | tools/patman/patchstream.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index d630157..da04883 100644 --- a/tools/patman/patchstream.py +++ b/tools/patman/patchstream.py @@ -248,8 +248,7 @@ class PatchStream: # Detect the start of a new commit elif commit_match: self.CloseCommit() - # TODO: We should store the whole hash, and just display a subset - self.commit = commit.Commit(commit_match.group(1)[:8]) + self.commit = commit.Commit(commit_match.group(1)) # Detect tags in the commit message elif tag_match: |