[LLVMdev] Advise on Git mirror for llvm-lit
Daniel Liew
daniel.liew at imperial.ac.uk
Fri Feb 28 08:23:41 PST 2014
Hi,
I find the llvm-lit tool incredibly useful for other to setup a git
mirror that mirrors only stuff in utils/lit which I could then use as
a git submodule in other projects I work on. The rationale for doing
this is that that cloning the llvm git repository is wasteful if I
only want llvm-lit.
I had a quick go at this...
$ git svn clone -r81190:HEAD
http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit llvm-lit
The result was fairly satisfactory except that commit author email
addresses were screwed up, e.g.
commit 5ce8d8244224431e2b4d88c5d9b0045f8c8ba388
Author: alexfh <alexfh at 91177308-0d34-0410-b5e6-96231b3b80d8>
Date: Fri Jan 24 10:03:42 2014 +0000
Remove empty directories.
git-svn-id:
http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit@199983
91177308-0d34-0410-b5e6-96231b3b80d8
It seems that the solution is to provide an authors file
(--authors-file=) or an authors program (--authors-prog=) to get the
e-mail addresses correct.
The LLVM git mirrors [1] don't have this issue so the problem must
have already been solved. So I'd like to know what solution was used
which I could also use. Alternatively would the LLVM admins be willing
to host a git mirror that mirrors the ``utils/lit``?
[1] http://llvm.org/git/llvm.git
Thanks,
Dan.
More information about the llvm-dev
mailing list