From: Junio C Hamano Date: Thu, 5 Mar 2015 20:45:42 +0000 (-0800) Subject: Merge branch 'rs/simple-cleanups' X-Git-Tag: v2.4.0-rc0~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a6444d50ea73350ae7e6083ecc63393749e5bb0;p=thirdparty%2Fgit.git Merge branch 'rs/simple-cleanups' 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 --- 8a6444d50ea73350ae7e6083ecc63393749e5bb0