word choice - Version control messages: what tense?


In software engineering we use version control systems. Every time we check in modifications we usually leave a message with a summary of change. The question for me has always been: what is the most appropriate and practical tense and form for these messages? Examples:




  1. Changed the function argument type to int




  2. Function argument type changed to int




  3. Function argument type is changed to int




  4. Function argument type has been changed to int




  5. Function argument type is now int




By "practical" I mean, because most messages are in the same form, they should be succinct, to the point, technical/formal. Best candidate in this regard is probably (2). Sometimes it is tempting to use (5) but you end up flooding your message log with "now", which is not nice. (4) is too long although looks (to me) appropriate in many cases. And finally, (1) and (3) feel wrong somehow, although (1) especially is a widely used one in programming, as far as I can tell.


Any thoughts, suggestions?


Edit: some other forms found by some googling:




  1. Change the function argument type to int




  2. Changing ...




  3. Changes ...





Answer



Since presumably (1) you're checking in something that you did, and (2) the change has already happened (otherwise you'd have nothing to check in), I'd go with the simple past:



Changed function argument type to int.



If you're checking in a change on behalf of a team, I could also see using:



Function argument type changed to int.



The simple past is the least wordy tense — no helping verbs, no "now"— and is generally the easiest to understand.


I wouldn't suggest using a continuous present or future tense such as "changing", because then the log becomes unclear about what was changed when. (Akin to the problem of distances in driving directions: when it says "left turn — 5 miles", does that mean the left turn is 5 miles ahead, or do I make a left turn now and then go 5 miles until the next step?)


Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

grammatical number - Use of lone apostrophe for plural?

etymology - Where does the phrase "doctored" originate?

phrases - Somebody is gonna kiss the donkey

typography - When a dagger is used to indicate a note, must it come after an asterisk?

etymology - Origin of "s--t eating grin"