Merge branch 'jc/check-x-z'
commit0db320d023ea41b201edd4bbf67a2e275726f705
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 Sep 2013 19:23:24 +0000 (4 12:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Sep 2013 19:23:25 +0000 (4 12:23 -0700)
tree759a56e7f5f6ae42a9ad1599e75a7dcd373d9808
parent0a41de8f81d8fa39fa17943cd1ed5e0274fef187
parentf7cd8c50b9ab83e084e8f52653ecc8d90665eef2
Merge branch 'jc/check-x-z'

"git check-ignore -z" applied the NUL termination to both its input
(with --stdin) and its output, but "git check-attr -z" ignored the
option on the output side.

This is potentially a backward incompatible fix.  Let's see if
anybody screams before deciding if we want to do anything to help
existing users (there may be none).

* jc/check-x-z:
  check-attr -z: a single -z should apply to both input and output
  check-ignore -z: a single -z should apply to both input and output
  check-attr: the name of the character is NUL, not NULL
  check-ignore: the name of the character is NUL, not NULL
Documentation/git-check-attr.txt
builtin/check-ignore.c