Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Fix hexdump command used for mercurial dirstate parsing



Frank Terbeck wrote on Sun, Oct 30, 2016 at 12:11:01 +0100:
> "xxd" is a command shipped with vim. Adding such a dependency is out of
> the question for me.

That's my fault.  Reed's original patch used hexdump; I suggested to
just use xxd if hexdump gives trouble.

> It would be conceivable to make the command that is called in these
> places configurable via styles. But that is a separate issue to the
> one that fixes our use of hexdump.

Couldn't we replace hexdump by a pure zsh solution?  We simply need to
read 20 octets and print their hexadecimal values.

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author