From: Johannes Sixt Date: Thu, 07 Oct 2010 15:07:30 GMT Subject: Re: git log doesn't allow %x00 in custom format anymore? Message-ID: <4CADE232.8030801@viscovery.net> In-Reply-To: <5BA0D807-C5C0-4797-82CD-5D5087496D6F@jetbrains.com> Am 10/7/2010 16:35, schrieb Kirill Likhodedov: > My bad, this happens only on Windows (at least not on Mac OS X). With git rev-list, it also happens on Linux: $ git log -1 --pretty=foo%x00bar HEAD | od -c 0000000 f o o \0 b a r \n 0000010 $ git rev-list -1 --pretty=foo%x00bar HEAD | od -c 0000000 c o m m i t 8 7 f a f 1 0 9 0 0000020 5 d 1 f 8 a b 1 e 9 a c 2 4 c c 0000040 3 e f e d 8 1 f a 7 e 2 9 6 7 \n 0000060 f o o \n 0000064 $ git version git version 1.7.3.67.gcc234 -- Hannes