On Thu, Sep 08, 2011 at 04:42:58AM -0700, Clive Crous wrote:
> I work for a company as a developer and got an email from management
> this morning and would just
> like to cloud-source some opinions. Trying to keep this question as
> unbiased as I can, but I'd really like some feedback, thanks:
> The company I work for sent out an email this morning instructing us
> to, from now on, commit all source code changes for whatever we're
> currently working on and push (to central
> company git repository), regardless of the progress, status or state
> every half-an-hour so that they see the
> changes being made and can monitor productivity. Thoughts on this?
Conform creatively. Create a branch for yourself in the central git
repository and automatically push your current state there; with a bit
of creative scripting, you can keep this completely independent from
your regular work, using a separate index and refs (at least if you
aren't in the middle of merge/rebase or switching branches; details
depend on your exact personal workflow). This way, that branch will
have half-hourly snapshots that can be used for "productivity
monitoring" and yet it will not bother you or anyone else doing the
To do this kind of thing on the real development branch would be
really crazy practice. In that case, you will need to start explaining
the purpose of commits, importance of self-containedness, keeping track
of properly marked changes, bisecting, and so on, and re-iterate the
solution above which should enable them to do the monitoring they want
to do and yet not interfere with regular development.
Of course, the whole concept of using half-hourly code tree snapshots
for productivity monitoring is completely broken, but I'm assuming you
already considered and gave up on trying to push against that. :-)
Petr "Pasky" Baudis
UNIX is user friendly, it's just picky about who its friends are.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at