[commit: ghc] master: Remove -flocal-ghci-history from default flags (7b4bb40)

git at git.haskell.org git at git.haskell.org
Sat Sep 10 17:58:42 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7b4bb40555eb19b528a976ff1f1b43c8bded6373/ghc

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

commit 7b4bb40555eb19b528a976ff1f1b43c8bded6373
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Sat Sep 10 13:51:23 2016 -0400

    Remove -flocal-ghci-history from default flags
    
    Summary:
    D2461 seemed to (inadvertently, I think) add the
    `-flocal-ghci-history` flag to the list of `defaultFlags` that are enabled
    automatically. As a result, every invocation of `ghci` caused a local GHCi
    history to be saved to the current directory, which probably shouldn't be the
    default.
    
    Test Plan:
    Run `ghci`, observe the lack of a `.ghci_history` file in your
    working directory
    
    Reviewers: austin, thomie, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: ak3n
    
    Differential Revision: https://phabricator.haskell.org/D2520
    
    GHC Trac Issues: #9089


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

7b4bb40555eb19b528a976ff1f1b43c8bded6373
 compiler/main/DynFlags.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index fa471d3..7546936 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3675,7 +3675,6 @@ defaultFlags settings
       Opt_FlatCache,
       Opt_GenManifest,
       Opt_GhciHistory,
-      Opt_LocalGhciHistory,
       Opt_GhciSandbox,
       Opt_HelpfulErrors,
       Opt_KeepHiFiles,



More information about the ghc-commits mailing list