git-pr

created pr with 11.1 on 2024-07-22T16:35:13Z · by 964fa508
added 11.2 on 2024-07-22T18:12:49Z · by c8ef7d19
-: ------- > 1: 31fcd4a lgtm
1: 57b42aa = 2: 31fcd4a fix: only log status change if the status changes
cmds
checkout latest patchset:
ssh pr.pico.sh print 11 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print 11.[rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 11

Patchset 11.2 on 2024-07-22T18:12:49Z · commit 31fcd4a

fix: only log status change if the status changes
jolheiser 2024-07-22T16:34:57Z
Signed-off-by: jolheiser <git@jolheiser.com>
Semantic diff summary
0 added, 1 modified, 0 signature changed, 0 removed across 1 analyzed file
+1 -1 cli.go #
......@@ -810,7 +810,7 @@ Here's how it works:
810810 return nil
811811 }
812812
813- if nextStatus != "" {
813+ if prq.Status != nextStatus {
814814 err = pr.UpdatePatchRequestStatus(prID, user.ID, nextStatus)
815815 if err != nil {
816816 return err
Back to top