File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ function update_scoop() {
5353 if (! $git ) { abort " Scoop uses Git to update itself. Run 'scoop install git' and try again." }
5454
5555 write-host " Updating Scoop..."
56+ $last_update = (Get-Date (Get-Date $ (scoop config lastupdate)).ToLocalTime() - Format s)
5657 $currentdir = fullpath $ (versiondir ' scoop' ' current' )
5758 if (! (test-path " $currentdir \.git" )) {
5859 $newdir = fullpath $ (versiondir ' scoop' ' new' )
@@ -73,6 +74,7 @@ function update_scoop() {
7374 Push-Location $currentdir
7475 git_pull - q
7576 $res = $lastexitcode
77+ git_log -- no- decorate -- date= local -- since= " `" $last_update `" " -- format= " `" format: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`" " HEAD
7678 if ($res -ne 0 ) {
7779 abort ' Update failed.'
7880 }
@@ -86,6 +88,7 @@ function update_scoop() {
8688 write-host " Updating '$_ ' bucket..."
8789 Push-Location (bucketdir $_ )
8890 git_pull - q
91+ git_log -- no- decorate -- date= local -- since= " `" $last_update `" " -- format= " `" format: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`" " HEAD
8992 Pop-Location
9093 }
9194
You can’t perform that action at this time.
0 commit comments