[commit: packages/Cabal] ghc-head: Avoid the timestamp check for `add-source --snapshot` dependencies. (048eaa1)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:24:52 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=048eaa14522fdbdf84ae0cb3215e75db9af83f5e

>---------------------------------------------------------------

commit 048eaa14522fdbdf84ae0cb3215e75db9af83f5e
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Thu May 9 22:22:59 2013 +0200

    Avoid the timestamp check for `add-source --snapshot` dependencies.
    
    Snapshot deps now behave more like `cabal-dev add-source`. Implemented by adding
    a BuildTreeRefType field to the BuildRef index entry.
    
    Fixes #1321.


>---------------------------------------------------------------

048eaa14522fdbdf84ae0cb3215e75db9af83f5e
 cabal-install/Distribution/Client/IndexUtils.hs    |   71 +++++++++----
 cabal-install/Distribution/Client/Sandbox.hs       |   18 ++--
 cabal-install/Distribution/Client/Sandbox/Index.hs |  111 +++++++++++++-------
 .../Distribution/Client/Sandbox/Timestamp.hs       |    6 +-
 cabal-install/Distribution/Client/Tar.hs           |   13 +++
 5 files changed, 150 insertions(+), 69 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 048eaa14522fdbdf84ae0cb3215e75db9af83f5e




More information about the ghc-commits mailing list