From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Automatically commenting changes Date: Wed, 26 Jan 2011 14:57:26 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296052906 21087 80.91.229.12 (26 Jan 2011 14:41:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 14:41:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 26 15:41:42 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi6Z3-0003Qe-8Z for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jan 2011 15:41:41 +0100 Original-Received: from localhost ([127.0.0.1]:39211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi6Ym-0006B6-M3 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jan 2011 09:41:24 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1296050246 9875 85.183.18.158 (26 Jan 2011 13:57:26 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 26 Jan 2011 13:57:26 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:184599 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78759 Archived-At: Gary writes: > Stefan Monnier wrote: > >>> An editor I used long long ago had the ability to tag lines you >> changed >>> with your name (or some other customisable character sequence). For >>> example if I changed the line >>> int i = 0; >>> the editor would automatically generate a comment on the end: >>> int i = 1; /*gary*/ > >> I think the way to attack such a problem nowadays is to keep your code >> in a version control system (VCS), which then keeps track of all that >> info for you. > > I do. But before I commit, or rather in the process of commiting, when > there is the original file I branched from to consider, plus my changes, > possibly plus changes from others who have commited since I branched, > things can get confusing. > > For example, if I see as a difference the above "int i = 1" instead of > "0", I only know it is different to what it was - did I change it? Did > someone else? If I did, does it really make sense, or was it just > something I did in order to achieve some debugging purpose? If I can at > least easily see that it is one of my changes, I have a chance of > understanding why I did it. > git-blame magit