Versioning System Commits; Grouped or Granulated ?

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post November 30th, 2009, 8:22 am

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.
Strong with this one, the sudo is.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 30th, 2009, 8:22 am

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post November 30th, 2009, 3:40 pm

What you said, for the reasons you listed.
The Beer Monocle. Classy.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post November 30th, 2009, 3:56 pm

Did you get to be that way by having to redo a bunch of grouped fixes after a rollback like I did ? :D
Strong with this one, the sudo is.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post December 1st, 2009, 12:08 pm

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.
The Beer Monocle. Classy.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 175 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
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.