On Fri, Jan 9, 2009 at 2:34 PM, Michael McCracken <michael.mccrac...@gmail.com> wrote: > On Fri, Jan 9, 2009 at 2:02 PM, Maxwell, Adam R <adam.maxw...@pnl.gov> wrote: >> On 01/09/09 11:41, "Michael McCracken" <michael.mccrac...@gmail.com> wrote: >>> On Fri, Jan 9, 2009 at 1:23 PM, Maxwell, Adam R <adam.maxw...@pnl.gov> >>> wrote: >> >>>> Would this be worth using for "small" changes, or mainly for something >>>> massive like a rewrite of file handling? >>> >>> Either. Small changes are fine. I like small commits, since it makes >>> tracking history easier, and a quick diff against the last local >>> commit is a great way to find temp testing code that should not be >>> committed to the main, because it'll be smaller than looking through >>> the whole patch. >> >> I like small commits also, since it makes review so much easier. >> >>> I *believe* git also has a feature I loved in darcs: say you make two >>> separate unrelated changes to a file, like a bug fix in one function >>> and a feature add in another. You then go to commit. In SVN, you get >>> one commit with two unrelated changes, bleh. In darcs (and git I >>> think) you get to cherry-pick which changes you want to commit right >>> now, and you end up with two commits even though you weren't careful >>> about when you committed. >>> Of course if the changes overlap you're SOL but then it's up to good habits. >> >> /That/ would be a nice feature to have! One of the most annoying problems >> with cvs and svn is splitting up commits, and I run into this all the time >> when refactoring in order to add a feature. > > I just installed git and GitX : http://gitx.frim.nl/ > git installed <10 new executables in ~/bin/ and GitX is really quite nice. > (Although I didn't know what the "gist it" button did and accidentally > posted some random code to the github website with it - be warned.) > > Indeed git and GitX make cherry-picking very nice and clean.
Forgot to mention that I found this blog post: http://tsunanet.blogspot.com/2007/07/learning-git-svn-in-5min.html useful in getting started with git-svn. -mike > >>>> What I've done for a long time is keep a bibdesk-clean (for nightly builds) >>>> and bibdesk-working, where I hack on stuff that's not ready for commit. >>>> And >>>> I use Undo a lot in Xcode :). >>> >>> Do you use those snapshots they added a couple years ago? Or just >>> straight up Undo? >> >> I've tried snapshots a couple of times, but they're flaky and slow. I stick >> with undo and occasional svn revert. It sounds like git would make life >> easier in this regard. > > It absolutely would. It's nice and fast, too - that was a problem with > darcs... > >>> I would love to move to a point where no one committed to the main >>> repo unless the unit tests pass, and were encouraged not to commit a >>> new feature unless you also add some tests for it. >> >> I like this, maybe because I think it would slow things down so much that I >> could keep up with development again :). >> >>> Of course, code >>> talks and I'm just writing emails here :) >> >> Me too, but I've been hacking in python all morning and need a diversion :). >> Man, I wish I'd learned python a few years ago...that is a fun >> language/library combination. > > Agreed - python is good stuff. I have written some stuff in PyObjC, > and I like it much more than straight objC. It's really like the best > of both. > > Cheers, > -mike > >> -- >> Adam >> >> >> ------------------------------------------------------------------------------ >> Check out the new SourceForge.net Marketplace. >> It is the best place to buy or sell services for >> just about anything Open Source. >> http://p.sf.net/sfu/Xq1LFB >> _______________________________________________ >> Bibdesk-develop mailing list >> Bibdesk-develop@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop >> > > > > -- > Michael McCracken > UCSD CSE PhD Candidate > research: http://www.cse.ucsd.edu/~mmccrack/ > misc: http://michael-mccracken.net/wp/ > -- Michael McCracken UCSD CSE PhD Candidate research: http://www.cse.ucsd.edu/~mmccrack/ misc: http://michael-mccracken.net/wp/ ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop