Re: Question on textconv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Wed, Aug 5, 2026 at 12:50 AM Jeff King <peff@xxxxxxxx> wrote:
>
> On Tue, Aug 04, 2026 at 02:44:22PM -0400, rsbecker@xxxxxxxxxxxxx wrote:
>
> > The supplied file going to the textconv program looks like
> > /tmp/git-blob-GFtIhK/simple
> > and is always empty regardless of the file contents.
>
> I can't reproduce the problem here, even for files with embedded NULs.
Yeah, same:
 dd if=/dev/zero of=file count=1
 echo 'file diff=debug' >.gitattributes
 git config diff.debug.textconv 'echo >&2 "got $*"; xxd'
shows (with "git add --intent-to-add file; git diff file") the xxd
dump of zeros from the working tree. Then
 git commit file -mwip
 dd if=/dev/zero of=file count=2
 git diff file
shows a diff between a temp file and the working tree (but still
correctly showing the new block of zeros).

[Index of Archives] [Linux Kernel Development] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [Fedora Users]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /