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

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



On Oct 29, 10:47pm, Reed Riley wrote:
} Subject: [PATCH] Fix hexdump command used for mercurial dirstate parsing
}
}      if zstyle -t ":vcs_info:${vcs}:${usercontext}:${rrn}" use-simple \
}              && ( VCS_INFO_check_com hexdump ) && [[ -r ${dirstatefile} ]] ; then
}          # Calling hexdump is (much) faster than hg but doesn't get the local rev
} -        r_csetid=$(hexdump -n 20 -e '1/1 "%02x"' ${dirstatefile})
} +        r_csetid=$(xxd -p -l20 ${dirstatefile})


Other references to "hexdump" -- especially "VCS_INFO_check_com hexdump",
but also the comment -- ought to be changed if this use is changing.



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