Repository Reorganization Question

Herbert Valerio Riedel hvriedel at gmail.com
Thu Dec 5 11:15:24 UTC 2013


On 2013-12-05 at 11:17:01 +0100, Herbert Valerio Riedel wrote:

[...]

> Fyi, I've drafted how the change would look like in the new ghc.git
> branch 'wip/T8545' so we can test/evaluate the effects/fallout before
> peforming this operation on 'master'.
>
> So running
>
>  git clone -b wip/T8545 git://git.haskell.org/ghc.git
>  cd ghc/
>  ./sync-all get
>
> should result in a new checkout including the folded-in testsuite/
> folder.

PS: I didn't merge in testsuite's Git history as that would bloat
    ghc.git quite a bit; however, 'git blame' functionality can be
    recovered in a local checkout by using something like Git's grafting
    feature:

    # make available old testsuite Git objects in local ghc.git
    git remote add -f old-testsuite git://git.haskell.org/testsuite.git

    # add 2nd parent commit to e45b9f57a90 pointing to testsuite.git
    echo e45b9f57a9044e8a20e3cc13bcff86b12b3da405 \
         1860dae3a7e377f085f3a4134f532a7f577fccbe \
         3e66489ebcef0f4cd86968c6781a1d4ad1981f94 > .git/info/grafts

    This way when peforming 'git blame' on files in the the testsuite/
    folder results in sensible information dating back before the
    history-cut-off point.



More information about the ghc-devs mailing list