From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: vc for git users. Date: Wed, 30 Oct 2019 14:43:32 +0100 Message-ID: References: <20191028142107.koe7faofoqmsljel@Ergus> <834kzssv58.fsf@gnu.org> <2E3DDD9F-5E02-4C7A-AAFE-83A4B0345830@aol.com> <83k18npsr1.fsf@gnu.org> <87sgnbzm7z.fsf@gnus.org> <83imo7prdg.fsf@gnu.org> <42b1ece2-e54a-2b40-ded4-a8cda7450b51@yandex.ru> <86imo7tosu.fsf@dod.no> <87lft2inks.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="157514"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org, Steinar Bang To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 30 14:43:54 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPoGN-000em7-8x for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Oct 2019 14:43:51 +0100 Original-Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPoGM-00084a-1T for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Oct 2019 09:43:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50091) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPoGA-000829-4o for help-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:43:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPoG8-00014q-R0 for help-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:43:38 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:51731) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPoG8-0000yn-KO for help-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:43:36 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id q70so2184235wme.1 for ; Wed, 30 Oct 2019 06:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=aNyFy5v0KTWP8xoi7qi6gtYRSDHZmgeDg+/MW8OI5hY=; b=h+G3MFYoZBoyDlHTDB1Mj9RmEepYRFDhpFcFdQaujCCGB2tlL8rTel09ZE6V8VKetq XI1uOlo3/fMjmTPfyxDd3oMZI27y3LKbM8e2jK3A3utjtkO7Ah/dubpCe4TTIFW3OonE pzZX9cYY+0eQyfCuG7dHWSFj7Wl3XfmzkazNEkSIa05P+SLhGSc/aum+RgB9/IzPBOED YlzozZssmo1r6SIaJiHimklgwxMZbAzFEt+EpPSgPx6/xTU5v9AaxeyDqGGcdu9We4xy ISYNi/GOnySley1rn6IlgO5Xjh3NUx2+ODdkKgNis1kSVQRk6IAnhD5CxbQGeSi5QqVw J5Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=aNyFy5v0KTWP8xoi7qi6gtYRSDHZmgeDg+/MW8OI5hY=; b=Ruqs3y3LGexzWt6P/ao4vWH35dDuvaOr+bP8YLTMLHmBjNV/kgAzVzfIwXIbkeOhVm N/DUHfFZx5r6KU0hWA7NUJXnS7eSodpoYtfUJUx6UVoew92RS3trilxGS+m9RH1Xs2b7 E7diQWam2WU3E39v3+4bI93vQ3YAArqlUTr/Qd7wXX0XXf376gaKRFmoEkID385RkQag 9UpikevD0/gTOtMIer8W8s1CstB5/23kiQPowq61WIl+/Sk+ZQWiFoe0tHSj8hawghE9 W3deSz2toDRd4k9xTQl9hPNg9/kLjTfgvJkJMrniA0Ia8Tbz6N4ixYGrf0oubYOCkFDr feVQ== X-Gm-Message-State: APjAAAXwcO2tHMX5MpTyMsGzzkDlrSUdzOa/paTfW3+K0yaKcntBpL2g 2vWrvnjBvmNIrnIMYp78/BaI9SD1AqA= X-Google-Smtp-Source: APXvYqwjI+PRcPtr1zWO4cXN99l8r/nJqpQMM8eTDk8Ocogye9J+ZoAl2+4/Uw7O+FBaMimACIYGmQ== X-Received: by 2002:a1c:dd06:: with SMTP id u6mr9417529wmg.109.1572443014935; Wed, 30 Oct 2019 06:43:34 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:10a:f31e:f8db:2aab]) by smtp.gmail.com with ESMTPSA id p1sm84364wmg.11.2019.10.30.06.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 06:43:34 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87lft2inks.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 30 Oct 2019 10:34:27 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::333 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121775 Archived-At: >>>>> On Wed, 30 Oct 2019 10:34:27 +0100, Marcin Borkowski = said: Marcin> On 2019-10-29, at 19:00, Steinar Bang wrote: >>>>>>> Dmitry Gutov : >>=20 >>> I don't think it's fair. Git provides good tools. Just the other da= y I >>> was thinking of how to commit only a part of changes in a file. Git >>> makes it easy with 'git add -p', using the staging area. >>=20 >> (last Friday I, mostly by accident, discovered that magit supports '= git >> add -p': go to the diff buffer (ie. 'd d' with the cursor on a file = with >> changes) and stage the indivdual hunks https://stackoverflow.com/a/1= 096508) Marcin> Do you know that you can mark selected lines and stage a region= , too? You don=CA=BCt even need to run 'd d', you can uncollapse the file diff in the magit buffer, and do it from there. Robert