Merge branch 'rs/simple-cleanups'
commit8a6444d50ea73350ae7e6083ecc63393749e5bb0
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2015 20:45:42 +0000 (5 12:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2015 20:45:42 +0000 (5 12:45 -0800)
tree949f413a7105dc06326fc3fc5108ebff92397f57
parentca704731b1fdf77b8f6d296bcde206c67ed9d73a
parent2ce63e9fac242a70cd6d9e1325063bbb2e5091f8
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
builtin/for-each-ref.c
connect.c
pretty.c
sha1_name.c