• Junio C Hamano's avatar
    Merge branch 'rs/simple-cleanups' · 8a6444d5
    Junio C Hamano authored
    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
    8a6444d5
pretty.c 42.5 KB