From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Diogo F. S. Ramos" Newsgroups: gmane.emacs.help Subject: How to commit hunks using VC? Date: Fri, 26 Oct 2018 10:26:13 -0300 Message-ID: <87sh0s7say.fsf@example.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540562806 12503 195.159.176.226 (26 Oct 2018 14:06:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 14:06: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 Fri Oct 26 16:06:42 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gG2l7-000379-Ee for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 16:06:41 +0200 Original-Received: from localhost ([::1]:60263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG2nD-0004EE-TX for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 10:08:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG285-0006TR-2w for help-gnu-emacs@gnu.org; Fri, 26 Oct 2018 09:26:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG281-0007ma-S6 for help-gnu-emacs@gnu.org; Fri, 26 Oct 2018 09:26:20 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:34827) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gG281-0007lr-J1 for help-gnu-emacs@gnu.org; Fri, 26 Oct 2018 09:26:17 -0400 Original-Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 8FF581A04F1 for ; Fri, 26 Oct 2018 06:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1540560376; bh=A2c8NlACEyypKoR4riJxFnZJRqldUxpZzqvNVLMinjI=; h=From:To:Subject:Date:From; b=BrlYNPFJrLXMIQUW7hmExTCalJ6qqVG1X+9iGl2MLqnE/HTbzpBulzhEu8yAmxifA pg+teLgjXSJsyNYhVjbWEZ8sW3x4V7KBkMDibWRMznFXaE9cdDy+5rzg3vUKHtLzbd WdvxdlJD4LRO3NsiL9B5WbqwzMU80TxBeTuJgaq8= X-Riseup-User-ID: C3D860B0F5C94EB3D5AEAF12C0FCD7A5559E1B2F6E9548228D0F1745E55A562E Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id D354962862 for ; Fri, 26 Oct 2018 06:26:15 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-Mailman-Approved-At: Fri, 26 Oct 2018 10:08:01 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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:118418 Archived-At: Is it possible to commit only some hunks using VC? When using VC with git as a backend, sometimes I want to commit only a few hunks from different files. Usually I go to a shell and issue `git add -p' to select different hunks, but can I do it from VC? Maybe from the diff buffer?