Do not rely on git internals, support Git >= 2.10v160914
commit6cf9397bd6aadf659efb5104af4d3f37b0753d73
authorFrej Drejhammar <frej.drejhammar@gmail.com>
Wed, 14 Sep 2016 10:00:41 +0000 (14 12:00 +0200)
committerFrej Drejhammar <frej.drejhammar@gmail.com>
Wed, 14 Sep 2016 12:15:11 +0000 (14 14:15 +0200)
treeccb3a6ea003ecee8d9913bb1925f24c2c712bf21
parentc614ae776bd023095c91b849f4da268429b79455
Do not rely on git internals, support Git >= 2.10

Fast-export has traditionally sourced the internal git-sh-setup from
Git, following the release of Git 2.10 this no longer works. Fast-export
only uses the functionality of git-sh-setup for two things: cd:ing to
the git repo dir and setting up the GIT_REPO environment variable. To
future-proof fast-export start doing what we need by hand in
fast-export.

Acknowledgments to Louis Sautier who reported the problem and tested the
fix.
hg-fast-export.sh
hg-reset.sh