Versioning System Commits; Grouped or Granulated ?

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

When you're working on a project that makes use of CVS, SVN, GIT, and so on, do you tend to make more granular commits or do you tend to make commits with many similar issues grouped together ?

Why ?

--

I like to keep things fairly granular. I don't like to include multiple bug fixes in the same commit unless the same changes fixed multiple bugs.

The main reason I like to keep things granular is that it makes it easier to revert to an earlier version without having to redo a bunch of other things.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6251
  • Loc: Seattle, WA

Post 3+ Months Ago

What you said, for the reasons you listed.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Did you get to be that way by having to redo a bunch of grouped fixes after a rollback like I did ? :D
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6251
  • Loc: Seattle, WA

Post 3+ Months Ago

Not really, it's just generally the way we were taught to use it. That, and I'm paranoid about breaking builds or attempting any sort of "mega-commit", so I just prefer small, localized changes that I can easy unit-test, commit, and then move onto something else.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: spork and 87 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.