From: Junio C Hamano Date: Fri, 6 Mar 2015 22:57:57 +0000 (-0800) Subject: Merge branch 'rs/simple-cleanups' into maint X-Git-Tag: v2.3.2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f56a5f4fed296647ae8978645f9c627410717398;p=thirdparty%2Fgit.git Merge branch 'rs/simple-cleanups' into maint 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 --- f56a5f4fed296647ae8978645f9c627410717398