Merge branch 'rs/simple-cleanups'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2015 20:45:42 +0000 (12:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2015 20:45:42 +0000 (12:45 -0800)
Code cleanups.

* rs/simple-cleanups:
sha1_name: use strlcpy() to copy strings
pretty: use starts_with() to check for a prefix
for-each-ref: use skip_prefix() to avoid duplicate string comparison
connect: use strcmp() for string comparison

No differences found