r/programming • • Jun 19 '15

GitFlow considered harmful

http://endoflineblog.com/gitflow-considered-harmful
13 Upvotes

244 comments sorted by

View all comments

Show parent comments

2

u/mflood Jun 19 '15

If no one reads the git log, what's the harm in squashing small commits together? You don't lose the change history, just the separate commit messages that you don't think people will read.

1

u/Netzapper Jun 19 '15

The auditors read the git log. I've just never seen a developer use it for anything but bisecting a bug.

2

u/ForeverAlot Jun 19 '15

Your developers want to have that information while they're bisecting, too.

And your auditors hate messy logs. Even if they don't realise it, or just don't complain to you about it, they do.

I have lost countless hours doing my job with colleagues who believe as you that the log is write-once-read-never. That is the ideal but it certainly isn't the reality, and when reality trumps it sucks to have followed the ideal.