{"thread":{"id":"19096","subject":"How is git used as other than the project's version control?","startedAt":"2009-04-27T22:55:38Z","lastAt":"2009-04-28T10:53:56Z","messageCount":9,"participants":["John Dlugosz","Thomas Adam","Jeff King","Octavio Alvarez","Andreas Ericsson","Mike Ralphson","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"112471","messageId":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","threadId":"19096","inReplyTo":null,"subject":"How is git used as other than the project's version control?","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-27T22:55:38Z","receivedAt":"2009-04-27T22:55:38Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":"I'm interested in finding out how people use git \"on the side\", when it\nis not the project's actual version control system.\n\nI'm aware of the vague idea of using it to \"go remote\".\n\nI'm sure I'll use it for non-programming topics just as an undo system.\n\nBut what about using it as a tool, wielded separately from applying\nthose tools to a git repository infrastructure?  For example, use it to\nseparate out hunks and untangle mixed work.  You could do this even if\nyour directory has nothing to do with git normally.  \n\n--John\n(please forgive the footer; it's not my idea nor my choice)\n\nTradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.\n  If you received this in error, please contact the sender and delete the material from any computer.\n"},{"id":"112473","messageId":"18071eea0904271606t4757a01di40e7b0cf6c558bea@mail.gmail.com","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Thomas Adam","fromEmail":"thomas.adam22@gmail.com","sentAt":"2009-04-27T23:06:24Z","receivedAt":"2009-04-27T23:06:24Z","isPatch":false,"sender":{"key":"thomas.adam22@gmail.com","avatar":"https://gravatar.com/avatar/137f9858bc6bfd5b2f743aefd988c81ce0cbd306248889df80e269519cfc8741?d=mp&s=160"},"body":"2009/4/27 John Dlugosz <JDlugosz@tradestation.com>:\n> But what about using it as a tool, wielded separately from applying\n> those tools to a git repository infrastructure?  For example, use it to\n> separate out hunks and untangle mixed work.  You could do this even if\n> your directory has nothing to do with git normally.\n\nWhat is it you're really asking here?  I use \"git diff\" all the time\noutside of $GIT_DIR for instance -- invaluable, and was designed\ndeliberately that way.\n\n-- Thomas Adam\n"},{"id":"112477","messageId":"450196A1AAAE4B42A00A8B27A59278E70AE3EC4B@EXCHANGE.trad.tradestation.com","threadId":"19096","inReplyTo":"18071eea0904271606t4757a01di40e7b0cf6c558bea@mail.gmail.com","subject":"RE: How is git used as other than the project's version control?","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-27T23:10:06Z","receivedAt":"2009-04-27T23:10:06Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":"> What is it you're really asking here?  \n\nWhen putting together a presentation on git, I created a simple-looking\nslide claiming that \"developers will use git anyway\" as a\ngeneral-purpose tool.  I find lots of web chatter about using it as a\nlighter-weight front-end to an Enterprise VCS, or as part of a technique\nfor working away from your desk in such a system.  But it got me\nthinking about how it might be more like a text editor in the sense if\nbeing more generally useful than just that specific thing it's \"for\".\nBut I don't have any concrete examples, just a vague notion.\n\n\n> I use \"git diff\" all the time\n> outside of $GIT_DIR for instance -- invaluable, and was designed\n> deliberately that way.\n> \n> -- Thomas Adam\n\n\n\n\n\n\n== beware, monster footer ahead==\n\nTradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.\n  If you received this in error, please contact the sender and delete the material from any computer.\n"},{"id":"112484","messageId":"18071eea0904271625w5757c869x33b4b00a766fc90@mail.gmail.com","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC4B@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Thomas Adam","fromEmail":"thomas.adam22@gmail.com","sentAt":"2009-04-27T23:25:28Z","receivedAt":"2009-04-27T23:25:28Z","isPatch":false,"sender":{"key":"thomas.adam22@gmail.com","avatar":"https://gravatar.com/avatar/137f9858bc6bfd5b2f743aefd988c81ce0cbd306248889df80e269519cfc8741?d=mp&s=160"},"body":"2009/4/28 John Dlugosz <JDlugosz@tradestation.com>:\n>> What is it you're really asking here?\n>\n> When putting together a presentation on git, I created a simple-looking\n> slide claiming that \"developers will use git anyway\" as a\n> general-purpose tool.  I find lots of web chatter about using it as a\n> lighter-weight front-end to an Enterprise VCS, or as part of a technique\n> for working away from your desk in such a system.  But it got me\n> thinking about how it might be more like a text editor in the sense if\n> being more generally useful than just that specific thing it's \"for\".\n> But I don't have any concrete examples, just a vague notion.\n\nWell, still you skirt around the main issue,  I use git in numerous scenarios:\n\n*)  As a front end to a CVS and/or SVN repository.\n*)  To manage files in my $HOME directory.\n\nIn the case of the first point, I have people using CVS/SVN directly\nwithout them ever knowing I used git to commit my changes therein,\n\nIs this what you're asking?   It's certainly possible and not too difficult.\n\n-- Thomas Adam\n"},{"id":"112486","messageId":"20090428014434.GA6462@coredump.intra.peff.net","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-04-28T01:44:34Z","receivedAt":"2009-04-28T01:44:34Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Apr 27, 2009 at 06:55:38PM -0400, John Dlugosz wrote:\n\n> I'm interested in finding out how people use git \"on the side\", when it\n> is not the project's actual version control system.\n\nThomas already mentioned using \"git diff\" separate from a git\nrepository; I find that \"git diff --color-words\" is much nicer than\n\"wdiff\", which does something similar (though I rarely use it outside of\na repo only because I put _everything_ into git :) ).\n\nOne of the nice things about git (and other distributed VCS's) is that\ncreating a repo is very lightweight. If I am going to write a patch for\nsome other software, the first thing I'll do after untarring it is \"git\ninit; git add .; git commit -m import\". So it kind of blurs the concept\nof \"what is the project's actual version control system\" as you wrote\nabove. If you consider the project to be my patch, it _is_ the VCS. Even\nthough upstream may not be using it.\n\nAnd of course, if I am going to do multiple patches, then I may convert\nand track upstream's history via git.\n\nIf you are looking for exotic uses of git, you may be interested in\nDscho's \"Using Git For What It Is Not Intended\" contest:\n\n  http://search.gmane.org/?query=UGFWIINI\n\n-Peff\n"},{"id":"112491","messageId":"op.us2xd3yb4oyyg1@localhost.localdomain","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Octavio Alvarez","fromEmail":"alvarezp@alvarezp.ods.org","sentAt":"2009-04-28T04:29:01Z","receivedAt":"2009-04-28T04:29:01Z","isPatch":false,"sender":{"key":"alvarezp@alvarezp.ods.org","avatar":null},"body":"On Mon, 27 Apr 2009 15:55:38 -0700, John Dlugosz <JDlugosz@tradestation.com> wrote:\n> I'm interested in finding out how people use git \"on the side\", when it\n> is not the project's actual version control system.\n\nI don't know if this suits your need or not, but I use it to track configuration changes and history in servers and equipment.\n\nOctavio.\n"},{"id":"112494","messageId":"49F6A9F4.8040408@op5.se","threadId":"19096","inReplyTo":"20090428014434.GA6462@coredump.intra.peff.net","subject":"Re: How is git used as other than the project's version control?","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2009-04-28T07:02:12Z","receivedAt":"2009-04-28T07:02:12Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Jeff King wrote:\n> On Mon, Apr 27, 2009 at 06:55:38PM -0400, John Dlugosz wrote:\n> \n>> I'm interested in finding out how people use git \"on the side\", when it\n>> is not the project's actual version control system.\n> \n> One of the nice things about git (and other distributed VCS's) is that\n> creating a repo is very lightweight. If I am going to write a patch for\n> some other software, the first thing I'll do after untarring it is \"git\n> init; git add .; git commit -m import\". So it kind of blurs the concept\n> of \"what is the project's actual version control system\" as you wrote\n> above. If you consider the project to be my patch, it _is_ the VCS. Even\n> though upstream may not be using it.\n> \n\nThis...\n\n> And of course, if I am going to do multiple patches, then I may convert\n> and track upstream's history via git.\n> \n\n... although I usually *always* do this, even if it's only one patch.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n\nRegister now for Nordic Meet on Nagios, June 3-4 in Stockholm\n http://nordicmeetonnagios.op5.org/\n\nConsidering the successes of the wars on alcohol, poverty, drugs and\nterror, I think we should give some serious thought to declaring war\non peace.\n"},{"id":"112501","messageId":"e2b179460904280131x1797862eq501797af2132f2c9@mail.gmail.com","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Mike Ralphson","fromEmail":"mike.ralphson@gmail.com","sentAt":"2009-04-28T08:31:24Z","receivedAt":"2009-04-28T08:31:24Z","isPatch":false,"sender":{"key":"mike.ralphson@gmail.com","avatar":"https://avatars.githubusercontent.com/u/21603?v=4"},"body":"2009/4/27 John Dlugosz <JDlugosz@tradestation.com>:\n> I'm interested in finding out how people use git \"on the side\", when it\n> is not the project's actual version control system.\n\nWe have historically used a very simple pessimistic locking strategy\nwith our legacy platform source. Individual files or groups of files\nare checked out to developers' home directories and they override\nwhat's in the live area when that dev compiles and tests for\nthemselves.\n\nI basically inserted git under this mechanism, thus allowing the\noptional use of merge and integrate (lockless development),\ntopic-branches, tags etc. Git also functions as our tripwire solution\nto ensure changes to that master shared repo have all been made\ntraceably.\n\nGit effectively is the VCS now, as what was there before was only\nbarely acceptable when it came to accessing old versions etc, but if\nyou don't want to interact with git, you don't have to even know it's\nthere. Until it saves your arse.\n\nMike\n"},{"id":"112507","messageId":"vpq7i15f3qz.fsf@bauges.imag.fr","threadId":"19096","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70AE3EC48@EXCHANGE.trad.tradestation.com","subject":"Re: How is git used as other than the project's version control?","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2009-04-28T10:53:56Z","receivedAt":"2009-04-28T10:53:56Z","isPatch":false,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"\"John Dlugosz\" <JDlugosz@TradeStation.com> writes:\n\n> I'm interested in finding out how people use git \"on the side\", when it\n> is not the project's actual version control system.\n\n2008-01-31: Git is the next Unix\nhttp://www.advogato.org/person/apenwarr/diary/371.html\n\n-- \nMatthieu\n"}]}