summaryrefslogtreecommitdiff
path: root/builtin/diff-tree.c
diff options
context:
space:
mode:
authorPaul Tan <pyokagan@gmail.com>2015-08-04 13:52:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-05 05:02:11 (GMT)
commit94cd175cff196d2571bc2e17ad8e9f47ef4b3911 (patch)
treee37d5045c7009b5680329ea2a5028e86989bb399 /builtin/diff-tree.c
parent336108c1563c23e1af5b7b7e6fbe52f511c21748 (diff)
downloadgit-94cd175cff196d2571bc2e17ad8e9f47ef4b3911.zip
git-94cd175cff196d2571bc2e17ad8e9f47ef4b3911.tar.gz
git-94cd175cff196d2571bc2e17ad8e9f47ef4b3911.tar.bz2
builtin-am: support and auto-detect mercurial patches
Since 0cfd112 (am: preliminary support for hg patches, 2011-08-29), git-am.sh could convert mercurial patches to an RFC2822 mail patch suitable for parsing with git-mailinfo, and queue them in the state directory for application. Since 15ced75 (git-am foreign patch support: autodetect some patch formats, 2009-05-27), git-am.sh was able to auto-detect mercurial patches by checking if the file begins with the line: # HG changeset patch Re-implement the above in builtin/am.c. Helped-by: Stefan Beller <sbeller@google.com> Signed-off-by: Paul Tan <pyokagan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-tree.c')
0 files changed, 0 insertions, 0 deletions