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 21:11:02 +0200 Message-ID: <83mw30optl.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> <83oangoqu5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427310706 14350 80.91.229.3 (25 Mar 2015 19:11:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 19:11:46 +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 20:11:37 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 1YaqiF-00017C-Pt for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 20:11:35 +0100 Original-Received: from localhost ([::1]:41027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaqiF-00083D-5m for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 15:11:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yaqhw-0007tB-6d for emacs-devel@gnu.org; Wed, 25 Mar 2015 15:11:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yaqhs-0003dZ-TZ for emacs-devel@gnu.org; Wed, 25 Mar 2015 15:11:16 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:44054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yaqhs-0003dV-M7 for emacs-devel@gnu.org; Wed, 25 Mar 2015 15:11:12 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NLS002007ZHUQ00@mtaout26.012.net.il> for emacs-devel@gnu.org; Wed, 25 Mar 2015 21:12:07 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLS00KSR807OS60@mtaout26.012.net.il>; Wed, 25 Mar 2015 21:12:07 +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.182 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:184259 Archived-At: > From: Yuri Khan > Date: Thu, 26 Mar 2015 01:03:13 +0600 > Cc: Alan Mackenzie , Stefan Monnier , > Emacs developers > > > . 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 > > Both these methods can work, but they break the flow even more than > making a note to get back to after committing. No, they don't. > >> 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 the > > index. > > By messing it up with other things. No, because they use methods available with most other VCSes.