Merge branch 'rs/simple-cleanups' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 22:57:57 +0000 (14:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 22:57:57 +0000 (14:57 -0800)
commitf56a5f4fed296647ae8978645f9c627410717398
tree693afac09ae1fd40b7ab39ae8b8122cde6050b7f
parentd86679fa061e22e33596814630513b6a7b4d4767
parent2ce63e9fac242a70cd6d9e1325063bbb2e5091f8
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
builtin/for-each-ref.c
connect.c
pretty.c
sha1_name.c