From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 20:49:06 +0200 Message-ID: <83oangoqu5.fsf@gnu.org> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <86sicte9j3.fsf@example.com> <83y4mlnee2.fsf@gnu.org> <20150325181959.GC3833@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1427309399 25848 80.91.229.3 (25 Mar 2015 18:49:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 18:49:59 +0000 (UTC) Cc: acm@muc.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 19:49:44 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YaqN1-0001s3-Sq for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 19:49:40 +0100 Original-Received: from localhost ([::1]:40963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaqN1-0007kZ-C5 for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 14:49:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaqMm-0007ix-Jd for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:49:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaqMd-0004cF-Aa for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:49:24 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:50932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaqMd-0004bf-23 for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:49:15 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NLS003006GOO300@mtaout27.012.net.il> for emacs-devel@gnu.org; Wed, 25 Mar 2015 20:43:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLS00JL96PA4790@mtaout27.012.net.il>; Wed, 25 Mar 2015 20:43:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184256 Archived-At: > From: Yuri Khan > Date: Thu, 26 Mar 2015 00:37:06 +0600 > Cc: Eli Zaretskii , Stefan Monnier ,=20 > =09Emacs developers >=20 > The use case goes like this. I work on a feature. At the same time,= I > notice some coding style violations, or bad spelling/grammar, or > possible enhancements unrelated to the feature. >=20 > Without using the index, I=E2=80=99d have to make a conscious effor= t to avoid > mixing feature-related work with all those other good and useful > modifications. Make notes on a piece of paper. Finish the feature > work, commit, then go over the notes, do a few more commits. No, you can either: . start a new branch, and make all the unrelated changes there, or . stash your changes, make the unrelated changes, commit them, then pop the stash and continue > Bottom line: The index allows me to do several unrelated changes in > the working copy, then separate them in two or more commits. There are other ways to do that without messing up your brain with th= e index.