Abbreviate SHA-1 commit IDs.

Review Request #5304 — Created Jan. 22, 2014 and submitted

Information

Review Board
master

Reviewers

Abbreviate SHA-1 commit IDs.

If a review request is created with a SHA-1 as its commit ID (for example, when
using post-commit for GitHub), the long string of text will push everything
over, making the UI very ugly.

This change adds some code to abbreviate 40-character strings.

Created a post-commit change and saw that it showed me an abbreviated SHA
instead of the full thing.

chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (c7729f1).