home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 31,998 of 33,346   
   Christopher Creutzig to Martin B.   
   Re: What will keep C++ going, given that   
   10 Mar 12 11:22:10   
   
   From: christopher@creutzig.de   
      
   On 2/2/12 5:44 AM, Martin B. wrote:   
   > On 31.01.2012 23:38, Mathias Gaunard wrote:   
      
   >> I type "git diff" or "git diff   
   >> " and I only see the exact lines that have been changed.   
   >   
   > I *assume* (from last I looked at git), that this gives you the changes   
   > since your last commit, does it? So you do a commit of all changed files   
      
   Actually, since the last version you staged for committing. That level   
   of safety-net is something I'd kind of expect before refactoring, with   
   any tool.   
      
   > for each and every refactoring-script-run? (IIRC, commits are kind of   
   > private in git, but they still remain in a file's history, don't they?)   
      
   Git allows you to rewrite history. Whether and when that is a good idea   
   is a different topic and not really related to C++.   
      
   >> Everything highlighted with colors at the character level. I then use   
   >> the down key to scroll.   
   >   
   > Only those lines that have changed. And what about context? What about   
      
   By default, you get a few lines of context. You can set an external diff   
   tool, such as fmdiff or (I assume) Araxis Merge, too.   
      
      
   Christopher   
      
      
   --   
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca