Skip to content

Commit 76c3389

Browse files
committed
Merge branch 'stable'
2 parents 0835a68 + 1488a7f commit 76c3389

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

ChangeLog.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,12 @@ Other enhancements:
214214
* In YAML configuration files, the `global-hints-location` key is introduced to
215215
allow the location of the global hints YAML specification file to be
216216
specified.
217-
* By default, Hpack 0.20.0 or later will decline to overwrite a Cabal file that
218-
was modified manually. In YAML configuration files, the `hpack-force` key is
219-
introduced to allow Hpack to overwrite such a Cabal file. The corresponding
220-
`--hpack-force` flag is also added.
217+
* By default, Hpack 0.12.0 or later will decline to overwrite a Cabal file that
218+
was created by a more recent version of Hpack and Hpack 0.20.0 or later will
219+
decline to overwrite a Cabal file that was modified manually. In YAML
220+
configuration files, the `hpack-force` key is introduced to allow Hpack to
221+
overwrite such a Cabal file. The corresponding `--hpack-force` flag is also
222+
added.
221223
* Add the `stack config set recommend-stack-upgrade` command to configure
222224
whether or not Stack should notify the user if it identifes a new version of
223225
Stack is available in YAML configuration files.

doc/configure/global_flags.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ for the same information.
131131

132132
Default: Disabled
133133

134-
By default, Hpack 0.20.0 or later will decline to overwrite a Cabal file that
135-
has been modified manually. Pass the flag `--hpack-force` to allow Hpack to
136-
overwrite such a Cabal file.
134+
By default, Hpack 0.12.0 or later will decline to overwrite a Cabal file that
135+
was created by a more recent version of Hpack and Hpack 0.20.0 or later will
136+
decline to overwrite a Cabal file that has been modified manually. Pass the flag
137+
`--hpack-force` to allow Hpack to overwrite such a Cabal file.
137138

138139
## `--hpack-numeric-version` flag
139140

doc/configure/yaml/non-project.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -862,9 +862,11 @@ Default: `false`
862862
Command line equivalent (takes precedence):
863863
[`--hpack-force` option](../global_flags.md#-no-hpack-force-flag)
864864

865-
Whether or not to allow Hpack to overwrite a Cabal file that has been modified
866-
manually. By default, Hpack 0.20.0 or later will decline to overwrite such a
867-
Cabal file.
865+
Whether or not to allow Hpack to overwrite a Cabal file that was created by a
866+
more recent version of Hpack or has been modified manually. By default,
867+
Hpack 0.12.0 or later will decline to overwrite a Cabal file that was created by
868+
a more recent version of Hpack and Hpack 0.20.0 or later will decline to
869+
overwrite a Cabal file that has been modified manually.
868870

869871
## ignore-revision-mismatch
870872

0 commit comments

Comments
 (0)