Skip to content

Commit f2e3136

Browse files
committed
fix(git): Change position of bucket name in git log output
1 parent 2a033e2 commit f2e3136

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libexec/scoop-update.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function Sync-Bucket {
168168
$previousCommit = Invoke-Git -Path $bucketLoc -ArgumentList "rev-parse HEAD"
169169
Invoke-Git -Path $bucketLoc "pull -q"
170170
if ($Log) {
171-
Invoke-Git -Path $bucketLoc -ArgumentList "--no-pager log --no-decorate --grep='^(chore)' --invert-grep --format='tformat: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset [$Name]' '$previousCommit..HEAD'"
171+
Invoke-Git -Path $bucketLoc -ArgumentList "--no-pager log --no-decorate --grep='^(chore)' --invert-grep --format='tformat: * %C(yellow)%h%Creset [$Name] %<|(72,trunc)%s %C(cyan)%cr%Creset' '$previousCommit..HEAD'"
172172
}
173173
}
174174
}
@@ -214,7 +214,7 @@ function Sync-Buckets {
214214
$previousCommit = Invoke-Git -Path $bucketLoc -ArgumentList "rev-parse HEAD"
215215
Invoke-Git -Path $bucketLoc -ArgumentList "pull -q"
216216
if ($using:Log) {
217-
Invoke-Git -Path $bucketLoc -ArgumentList "--no-pager log --no-decorate --grep='^(chore)' --invert-grep --format='tformat: * %C(yellow)%h [$name]%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset' '$previousCommit..HEAD'"
217+
Invoke-Git -Path $bucketLoc -ArgumentList "--no-pager log --no-decorate --grep='^(chore)' --invert-grep --format='tformat: * %C(yellow)%h%Creset [$name] %<|(72,trunc)%s %C(cyan)%cr%Creset' '$previousCommit..HEAD'"
218218
}
219219
}
220220
} else {

0 commit comments

Comments
 (0)