3 ms·
Someone should make a tool to calculate working hours from a git commit history and/or bash history.
by rahimnathwani 12y ago
Someone should make a tool to calculate working hours from a git commit history and/or bash history.
- jboggan 12y agoWell, we do a lot of work outside of what our commits show, but that sort of thing would be useful to at least form an estimate. But if you are in the position of the employee claiming that you worked say 50 hours a week for two years, it is the company's responsibility to have your hours accounted for over that whole period. Practically they cannot produce that kind of information and your assertion will probably stand.
- groovylick 12y agoThe amount of time it takes to complete work for a commit is highly variable. I've had commits take a few minutes up to a day's worth of work when debugging something complex. A simple mean time per commit seems like a poor metric.
- jpatokal 12y agoSure, but you're obviously working at the point you commit. For example, if my first commit of a day is at 9:15 AM and the last one is at 7 PM, odds are pretty high I've exceeded the 'allowed' 9-to-5 hours.