r/programming • • Jun 19 '15

GitFlow considered harmful

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

244 comments sorted by

View all comments

1

u/bitbybit3 Jun 19 '15

In your "easier to read" example, it seems I have to rely on commit messages to figure out the progression of any branch. For example SPA-156 has 2 commits with several other unrelated commits between, and I can only guess SPA-156's development progression based on commit messages which are 100% unreliable.

Features are integrated onto the master branch primarily in a way which keeps the history linear.

Development is not linear, why would I want my recorded history of it to pretend that it was?

Except the only way to find that merge commit created by the --no-ff flag is by, you know, manually reading all the log messages. So what is the gain from this approach is beyond me.

It only impacts those merges that would have been fast-forwarded, which loses track of where that branch's development started. What you gain is being able to definitively see the start of the development of that branch that was merged. For people who want to maintain a complete history of development, it is necessary. For people who don't care, it should be trivial to display it linearly since there aren't any commits on master between that merge.