Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix hexdump command used for mercurial dirstate parsing
- X-seq: zsh-workers 39769
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Fix hexdump command used for mercurial dirstate parsing
- Date: Sat, 29 Oct 2016 22:34:22 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=ZilGucIhMikgWlWnkfXp7JJq0FJGsfghk/KpyHg/8cs=; b=1Z1WXw1ifsljIcNMeIMxVPwmoDNVrQCHJC4gwzIY/GALA/jN+05uONQWbHt4hqtGUn FBgOq1ptI1ZUmzQCx4gBLoCt3VuvyNl70ULSMPPfOsz/4TWsMCVH4w/3hf+iH+7TdOTj bPrZ8ohpzXn2jwPj0QeDZ5t6fWZS+DilHNmci/z/ADEGicRzTUOgyC6Ywz95LGMIydsk E29rci0NB7cvKsGjmVgaQZQ8HNft1obsvH0EkmrEa5Ow9g/tGElmh4pAxv5NXxbMbYEG 6vO7hH5i6NmaMN2wC+jCHt9/BTiWNGCQw9mpCHNpa3lpTiC4l2s4nFGxZKc+2nZaova2 r66A==
- In-reply-to: <20161030024723.62832-1-john.reed.riley@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20161030024723.62832-1-john.reed.riley@gmail.com>
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