Merge branch 'rs/pretty'
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 22:03:50 +0000 (14:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 22:03:50 +0000 (14:03 -0800)
commit37ec2b4c26901d5f1ca19948189dc2b6f21523d5
tree42fb61c490d77c882699f9685ab466d21a51e1d7
parent4356736571c6845cb446e4a7c9d645868e558ca0
parent726c8ef5a5a129d8157d0043f60fe7195d2cdb77
Merge branch 'rs/pretty'

* rs/pretty:
  Fix preprocessor logic that determines the availablity of strchrnul().
  Simplify strchrnul() compat code
  --format=pretty: avoid calculating expensive expansions twice
  add strbuf_adddup()
  --pretty=format: parse commit message only once
  --pretty=format: on-demand format expansion
  Add strchrnul()
strbuf.c