On Friday, January 30, 2015 at 5:30:52 AM UTC-5, 陳侃如 Kan-Ru Chen wrote:
> 
> I use this alias in ~/.gitconfig
> 
>   [alias]
>     hg-format-patch = !sh -c 'git format-patch -kp -U8 "$@"|tee 
> /dev/stderr|xargs git-patch-to-hg-patch' git
> 
> Get git-patch-to-hg-patch from https://github.com/mozilla/moz-git-tools
> 
> Kanru

That looks pretty complicated. I use something much simpler and it's never let 
me down:

[alias]
    hgp = "show -M -C --binary --format=\"# HG changeset patch%n# User %an 
<%ae>%n%B\" -U8"

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to