diff options
author | Jeff King <peff@peff.net> | 2015-09-24 17:08:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 11:08:06 -0700 |
commit | 34e02deb60b4db22243d47846eb926de9e0d1cf9 (patch) | |
tree | dac7d0fd96ad4086e9dfdf301c21a21922df916b /README | |
parent | 00b6c178c3ab475098f7a0bc63b2df2da508020c (diff) | |
download | git-34e02deb60b4db22243d47846eb926de9e0d1cf9.tar.gz git-34e02deb60b4db22243d47846eb926de9e0d1cf9.tar.xz |
name-rev: use strip_suffix to avoid magic numbers
The manual size computations here are correct, but using
strip_suffix makes that obvious, and hopefully communicates
the intent of the code more clearly.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions