Page MenuHomePhorge

Include number of modified files in total of attached files
ClosedPublic

Authored by aklapper on Feb 21 2025, 12:43.
Tags
None
Referenced Files
F3857652: D25892.1746167281.diff
Thu, May 1, 06:28
F3852853: D25892.1746139374.diff
Wed, Apr 30, 22:42
F3802598: D25892.1745980341.diff
Tue, Apr 29, 02:32
F3749191: D25892.1745791839.diff
Sat, Apr 26, 22:10
F3733444: D25892.1745745769.diff
Sat, Apr 26, 09:22
F3712495: D25892.1745684078.diff
Fri, Apr 25, 16:14
F3388310: D25892.1744446171.diff
Fri, Apr 11, 08:22
F3388307: D25892.1744446157.diff
Fri, Apr 11, 08:22

Details

Summary

The second parameter in the message %s updated %s attached file(s), added %s: %s; removed %s: %s; modified %s: %s. did not take the number of modified files into account but only added and removed files.

Closes T15959

Test Plan

Read the code.
Additionally, update and remove and modify files attached to a task and count.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

git rebase master; ./bin/celerity map; shows no output

Yuuum. As I mentioned downstream ( https://phabricator.wikimedia.org/T380361#10778444 ) I think probably, fortunately, nobody noticed this in a real world, since it's complicated to cause this condition using the API, and probably impossible from the web interface, but this still seems somehow a reasonable workflow and not dead code and the change makes sense. Thaaaanks

This revision is now accepted and ready to land.Tue, Apr 29, 21:22