File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,10 @@ Gitea or set your environment appropriately.`, "")
236
236
}
237
237
238
238
if count == 0 {
239
+
240
+ fmt .Fprintf (os .Stderr , "Processed %d references in total\n " , total )
241
+ os .Stderr .Sync ()
242
+
239
243
return nil
240
244
}
241
245
@@ -245,15 +249,17 @@ Gitea or set your environment appropriately.`, "")
245
249
246
250
fmt .Fprintf (os .Stderr , " Processing %d references\n " , count )
247
251
os .Stderr .Sync ()
248
- fmt .Fprintf (os .Stderr , "Processed %d references in total\n " , total )
249
- os .Stderr .Sync ()
250
252
251
253
resps , err := private .HookPostReceive (repoUser , repoName , hookOptions )
252
254
if resps == nil {
253
255
hookPrintResults (results )
254
256
fail ("Internal Server Error" , err )
255
257
}
256
258
results = append (results , resps ... )
259
+
260
+ fmt .Fprintf (os .Stderr , "Processed %d references in total\n " , total )
261
+ os .Stderr .Sync ()
262
+
257
263
hookPrintResults (results )
258
264
259
265
return nil
You can’t perform that action at this time.
0 commit comments