-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the timestamp shown during cabal update
Passing an index-state timestamp to cabal update currently makes it write a message saying the index has been updated to the *previous* timestamp. $ cabal update hackage.haskell.org,2016-09-24T17:47:48Z Downloading the latest package list from hackage.haskell.org Package list of hackage.haskell.org is up to date at index-state 2022-01-27T12:59:23Z This is because of a confusion between downloading the index and setting the index state. These are independent actions. This patch makes separates the two messages (updating the index and updating the index-state timestamp) and makes sure the right timestamp is printed.
- Loading branch information
1 parent
0abbe37
commit e431a36
Showing
2 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
synopsis: Fix the timestamp shown during cabal update | ||
packages: cabal-install | ||
prs: #7934 |